-- Copyright (C) 1991-2013 Altera Corporation
-- Your use of Altera Corporation's design tools, logic functions 
-- and other software and tools, and its AMPP partner logic 
-- functions, and any output files from any of the foregoing 
-- (including device programming or simulation files), and any 
-- associated documentation or information are expressly subject 
-- to the terms and conditions of the Altera Program License 
-- Subscription Agreement, Altera MegaCore Function License 
-- Agreement, or other applicable license agreement, including, 
-- without limitation, that your use is for the sole purpose of 
-- programming logic devices manufactured by Altera and sold by 
-- Altera or its authorized distributors.  Please refer to the 
-- applicable agreement for further details.

-- VENDOR "Altera"
-- PROGRAM "Quartus II 64-Bit"
-- VERSION "Version 13.1.0 Build 162 10/23/2013 SJ Full Version"

-- DATE "05/27/2025 06:06:24"

-- 
-- Device: Altera EP3C40F780C8 Package FBGA780
-- 

-- 
-- This VHDL file should be used for ModelSim-Altera (VHDL) only
-- 

LIBRARY ALTERA;
LIBRARY CYCLONEIII;
LIBRARY IEEE;
USE ALTERA.ALTERA_PRIMITIVES_COMPONENTS.ALL;
USE CYCLONEIII.CYCLONEIII_COMPONENTS.ALL;
USE IEEE.STD_LOGIC_1164.ALL;

ENTITY 	lab7 IS
    PORT (
	key_col : OUT std_logic_vector(3 DOWNTO 0);
	clk : IN std_logic;
	rst : IN std_logic;
	key_sel : IN std_logic;
	key_row : IN std_logic_vector(3 DOWNTO 0);
	m : IN std_logic_vector(1 DOWNTO 0);
	pc : OUT std_logic_vector(7 DOWNTO 0);
	seg : OUT std_logic_vector(7 DOWNTO 0);
	sel : OUT std_logic_vector(2 DOWNTO 0)
	);
END lab7;

-- Design Ports Information
-- key_col[3]	=>  Location: PIN_AE14,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- key_col[2]	=>  Location: PIN_AF13,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- key_col[1]	=>  Location: PIN_AD12,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- key_col[0]	=>  Location: PIN_AD11,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- pc[7]	=>  Location: PIN_F15,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- pc[6]	=>  Location: PIN_C16,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- pc[5]	=>  Location: PIN_B17,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- pc[4]	=>  Location: PIN_K15,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- pc[3]	=>  Location: PIN_H14,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- pc[2]	=>  Location: PIN_H16,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- pc[1]	=>  Location: PIN_D16,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- pc[0]	=>  Location: PIN_A17,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- seg[7]	=>  Location: PIN_M21,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- seg[6]	=>  Location: PIN_G12,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- seg[5]	=>  Location: PIN_G14,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- seg[4]	=>  Location: PIN_G15,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- seg[3]	=>  Location: PIN_G18,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- seg[2]	=>  Location: PIN_F18,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- seg[1]	=>  Location: PIN_G17,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- seg[0]	=>  Location: PIN_G16,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- sel[2]	=>  Location: PIN_G9,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- sel[1]	=>  Location: PIN_D22,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- sel[0]	=>  Location: PIN_C22,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- clk	=>  Location: PIN_A14,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- rst	=>  Location: PIN_Y27,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- m[1]	=>  Location: PIN_AH12,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- m[0]	=>  Location: PIN_AF14,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- key_sel	=>  Location: PIN_AD4,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- key_row[3]	=>  Location: PIN_AE11,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- key_row[1]	=>  Location: PIN_AE12,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- key_row[2]	=>  Location: PIN_AF11,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- key_row[0]	=>  Location: PIN_AE13,	 I/O Standard: 2.5 V,	 Current Strength: Default


ARCHITECTURE structure OF lab7 IS
SIGNAL gnd : std_logic := '0';
SIGNAL vcc : std_logic := '1';
SIGNAL unknown : std_logic := 'X';
SIGNAL devoe : std_logic := '1';
SIGNAL devclrn : std_logic := '1';
SIGNAL devpor : std_logic := '1';
SIGNAL ww_devoe : std_logic;
SIGNAL ww_devclrn : std_logic;
SIGNAL ww_devpor : std_logic;
SIGNAL ww_key_col : std_logic_vector(3 DOWNTO 0);
SIGNAL ww_clk : std_logic;
SIGNAL ww_rst : std_logic;
SIGNAL ww_key_sel : std_logic;
SIGNAL ww_key_row : std_logic_vector(3 DOWNTO 0);
SIGNAL ww_m : std_logic_vector(1 DOWNTO 0);
SIGNAL ww_pc : std_logic_vector(7 DOWNTO 0);
SIGNAL ww_seg : std_logic_vector(7 DOWNTO 0);
SIGNAL ww_sel : std_logic_vector(2 DOWNTO 0);
SIGNAL \rom_i|srom|rom_block|auto_generated|ram_block1a0_PORTAADDR_bus\ : std_logic_vector(7 DOWNTO 0);
SIGNAL \rom_i|srom|rom_block|auto_generated|ram_block1a0_PORTADATAOUT_bus\ : std_logic_vector(17 DOWNTO 0);
SIGNAL \clk~inputclkctrl_INCLK_bus\ : std_logic_vector(3 DOWNTO 0);
SIGNAL \rst~inputclkctrl_INCLK_bus\ : std_logic_vector(3 DOWNTO 0);
SIGNAL \key_col[3]~output_o\ : std_logic;
SIGNAL \key_col[2]~output_o\ : std_logic;
SIGNAL \key_col[1]~output_o\ : std_logic;
SIGNAL \key_col[0]~output_o\ : std_logic;
SIGNAL \pc[7]~output_o\ : std_logic;
SIGNAL \pc[6]~output_o\ : std_logic;
SIGNAL \pc[5]~output_o\ : std_logic;
SIGNAL \pc[4]~output_o\ : std_logic;
SIGNAL \pc[3]~output_o\ : std_logic;
SIGNAL \pc[2]~output_o\ : std_logic;
SIGNAL \pc[1]~output_o\ : std_logic;
SIGNAL \pc[0]~output_o\ : std_logic;
SIGNAL \seg[7]~output_o\ : std_logic;
SIGNAL \seg[6]~output_o\ : std_logic;
SIGNAL \seg[5]~output_o\ : std_logic;
SIGNAL \seg[4]~output_o\ : std_logic;
SIGNAL \seg[3]~output_o\ : std_logic;
SIGNAL \seg[2]~output_o\ : std_logic;
SIGNAL \seg[1]~output_o\ : std_logic;
SIGNAL \seg[0]~output_o\ : std_logic;
SIGNAL \sel[2]~output_o\ : std_logic;
SIGNAL \sel[1]~output_o\ : std_logic;
SIGNAL \sel[0]~output_o\ : std_logic;
SIGNAL \clk~input_o\ : std_logic;
SIGNAL \clk~inputclkctrl_outclk\ : std_logic;
SIGNAL \top_ctrl_i|u_display|sel[0]~2_combout\ : std_logic;
SIGNAL \rst~input_o\ : std_logic;
SIGNAL \rst~inputclkctrl_outclk\ : std_logic;
SIGNAL \top_ctrl_i|u_display|sel[1]~0_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_key|Decoder0~0_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_key|Decoder0~1_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_key|Decoder0~2_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_key|Decoder0~3_combout\ : std_logic;
SIGNAL \m[0]~input_o\ : std_logic;
SIGNAL \m[1]~input_o\ : std_logic;
SIGNAL \key_row[0]~input_o\ : std_logic;
SIGNAL \key_row[2]~input_o\ : std_logic;
SIGNAL \key_row[1]~input_o\ : std_logic;
SIGNAL \key_row[3]~input_o\ : std_logic;
SIGNAL \top_ctrl_i|u_key|WideOr0~1_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_key|WideOr0~0_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_key|WideOr0~2_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_key|WideOr1~1_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_key|WideOr0~3_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_key|WideOr1~2_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_key|WideOr1~0_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_key|WideOr1~3_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_key|WideOr2~0_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_key|WideOr2~1_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_key|WideOr2~2_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_key|WideOr3~0_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_key|WideOr3~1_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_key|WideOr3~2_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add2~0_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add1~0_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add1~30_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add1~31_combout\ : std_logic;
SIGNAL \top_ctrl_i|pc[6]~0_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add0~0_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add0~1\ : std_logic;
SIGNAL \top_ctrl_i|Add0~2_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add0~3\ : std_logic;
SIGNAL \top_ctrl_i|Add0~4_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add0~5\ : std_logic;
SIGNAL \top_ctrl_i|Add0~6_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add0~7\ : std_logic;
SIGNAL \top_ctrl_i|Add0~8_combout\ : std_logic;
SIGNAL \top_ctrl_i|Equal0~3_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add0~9\ : std_logic;
SIGNAL \top_ctrl_i|Add0~10_combout\ : std_logic;
SIGNAL \top_ctrl_i|cnt~5_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add0~11\ : std_logic;
SIGNAL \top_ctrl_i|Add0~12_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add0~13\ : std_logic;
SIGNAL \top_ctrl_i|Add0~14_combout\ : std_logic;
SIGNAL \top_ctrl_i|cnt~4_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add0~15\ : std_logic;
SIGNAL \top_ctrl_i|Add0~16_combout\ : std_logic;
SIGNAL \top_ctrl_i|Equal0~2_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add0~17\ : std_logic;
SIGNAL \top_ctrl_i|Add0~18_combout\ : std_logic;
SIGNAL \top_ctrl_i|cnt~3_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add0~19\ : std_logic;
SIGNAL \top_ctrl_i|Add0~20_combout\ : std_logic;
SIGNAL \top_ctrl_i|cnt~2_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add0~21\ : std_logic;
SIGNAL \top_ctrl_i|Add0~22_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add0~23\ : std_logic;
SIGNAL \top_ctrl_i|Add0~24_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add0~25\ : std_logic;
SIGNAL \top_ctrl_i|Add0~26_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add0~27\ : std_logic;
SIGNAL \top_ctrl_i|Add0~28_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add0~29\ : std_logic;
SIGNAL \top_ctrl_i|Add0~30_combout\ : std_logic;
SIGNAL \top_ctrl_i|cnt~1_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add0~31\ : std_logic;
SIGNAL \top_ctrl_i|Add0~32_combout\ : std_logic;
SIGNAL \top_ctrl_i|cnt~0_combout\ : std_logic;
SIGNAL \top_ctrl_i|Equal0~0_combout\ : std_logic;
SIGNAL \top_ctrl_i|Equal0~1_combout\ : std_logic;
SIGNAL \top_ctrl_i|Equal0~4_combout\ : std_logic;
SIGNAL \key_sel~input_o\ : std_logic;
SIGNAL \top_ctrl_i|u_key|WideOr4~0_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_key|is_pressed~q\ : std_logic;
SIGNAL \top_ctrl_i|pc[1]~3_combout\ : std_logic;
SIGNAL \top_ctrl_i|pc[1]~4_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add2~1\ : std_logic;
SIGNAL \top_ctrl_i|Add2~2_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add1~1\ : std_logic;
SIGNAL \top_ctrl_i|Add1~2_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add1~28_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add1~29_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add2~3\ : std_logic;
SIGNAL \top_ctrl_i|Add2~4_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add1~3\ : std_logic;
SIGNAL \top_ctrl_i|Add1~4_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add1~26_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add1~27_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add2~5\ : std_logic;
SIGNAL \top_ctrl_i|Add2~6_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add1~5\ : std_logic;
SIGNAL \top_ctrl_i|Add1~6_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add1~24_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add1~25_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add1~7\ : std_logic;
SIGNAL \top_ctrl_i|Add1~8_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add2~7\ : std_logic;
SIGNAL \top_ctrl_i|Add2~8_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add1~22_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add1~23_combout\ : std_logic;
SIGNAL \top_ctrl_i|pc[6]~1_combout\ : std_logic;
SIGNAL \top_ctrl_i|pc[6]~2_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add1~9\ : std_logic;
SIGNAL \top_ctrl_i|Add1~10_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add2~9\ : std_logic;
SIGNAL \top_ctrl_i|Add2~10_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add1~20_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add1~21_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add1~11\ : std_logic;
SIGNAL \top_ctrl_i|Add1~12_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add2~11\ : std_logic;
SIGNAL \top_ctrl_i|Add2~12_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add1~18_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add1~19_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add1~13\ : std_logic;
SIGNAL \top_ctrl_i|Add1~14_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add2~13\ : std_logic;
SIGNAL \top_ctrl_i|Add2~14_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add1~16_combout\ : std_logic;
SIGNAL \top_ctrl_i|Add1~17_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_display|sel[2]~1_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_display|Mux3~0_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_display|Mux3~1_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_display|Mux3~2_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_display|Mux3~3_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_display|Mux0~1_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_display|Mux0~2_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_display|Mux0~0_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_display|Mux0~3_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_display|Mux2~1_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_display|Mux2~2_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_display|Mux2~0_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_display|Mux2~3_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_display|Mux1~1_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_display|Mux1~2_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_display|Mux1~0_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_display|Mux1~3_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_display|WideOr0~0_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_display|seg[6]~0_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_display|WideOr1~0_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_display|seg[5]~1_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_display|WideOr2~0_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_display|seg[4]~2_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_display|WideOr3~0_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_display|seg[3]~3_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_display|WideOr4~0_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_display|seg[2]~4_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_display|WideOr5~0_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_display|seg[1]~5_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_display|WideOr6~0_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_display|seg[0]~6_combout\ : std_logic;
SIGNAL \top_ctrl_i|cnt\ : std_logic_vector(16 DOWNTO 0);
SIGNAL \top_ctrl_i|pc\ : std_logic_vector(7 DOWNTO 0);
SIGNAL \top_ctrl_i|u_key|val\ : std_logic_vector(3 DOWNTO 0);
SIGNAL \top_ctrl_i|u_display|sel\ : std_logic_vector(2 DOWNTO 0);
SIGNAL \rom_i|srom|rom_block|auto_generated|q_a\ : std_logic_vector(15 DOWNTO 0);
SIGNAL \top_ctrl_i|u_display|ALT_INV_seg[0]~6_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_display|ALT_INV_seg[1]~5_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_display|ALT_INV_seg[2]~4_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_display|ALT_INV_seg[3]~3_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_display|ALT_INV_seg[4]~2_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_display|ALT_INV_seg[5]~1_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_key|ALT_INV_Decoder0~3_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_key|ALT_INV_Decoder0~2_combout\ : std_logic;
SIGNAL \top_ctrl_i|u_key|ALT_INV_Decoder0~1_combout\ : std_logic;
SIGNAL \ALT_INV_clk~inputclkctrl_outclk\ : std_logic;

BEGIN

key_col <= ww_key_col;
ww_clk <= clk;
ww_rst <= rst;
ww_key_sel <= key_sel;
ww_key_row <= key_row;
ww_m <= m;
pc <= ww_pc;
seg <= ww_seg;
sel <= ww_sel;
ww_devoe <= devoe;
ww_devclrn <= devclrn;
ww_devpor <= devpor;

\rom_i|srom|rom_block|auto_generated|ram_block1a0_PORTAADDR_bus\ <= (\top_ctrl_i|pc\(7) & \top_ctrl_i|pc\(6) & \top_ctrl_i|pc\(5) & \top_ctrl_i|pc\(4) & \top_ctrl_i|pc\(3) & \top_ctrl_i|pc\(2) & \top_ctrl_i|pc\(1) & \top_ctrl_i|pc\(0));

\rom_i|srom|rom_block|auto_generated|q_a\(0) <= \rom_i|srom|rom_block|auto_generated|ram_block1a0_PORTADATAOUT_bus\(0);
\rom_i|srom|rom_block|auto_generated|q_a\(1) <= \rom_i|srom|rom_block|auto_generated|ram_block1a0_PORTADATAOUT_bus\(1);
\rom_i|srom|rom_block|auto_generated|q_a\(2) <= \rom_i|srom|rom_block|auto_generated|ram_block1a0_PORTADATAOUT_bus\(2);
\rom_i|srom|rom_block|auto_generated|q_a\(3) <= \rom_i|srom|rom_block|auto_generated|ram_block1a0_PORTADATAOUT_bus\(3);
\rom_i|srom|rom_block|auto_generated|q_a\(4) <= \rom_i|srom|rom_block|auto_generated|ram_block1a0_PORTADATAOUT_bus\(4);
\rom_i|srom|rom_block|auto_generated|q_a\(5) <= \rom_i|srom|rom_block|auto_generated|ram_block1a0_PORTADATAOUT_bus\(5);
\rom_i|srom|rom_block|auto_generated|q_a\(6) <= \rom_i|srom|rom_block|auto_generated|ram_block1a0_PORTADATAOUT_bus\(6);
\rom_i|srom|rom_block|auto_generated|q_a\(7) <= \rom_i|srom|rom_block|auto_generated|ram_block1a0_PORTADATAOUT_bus\(7);
\rom_i|srom|rom_block|auto_generated|q_a\(8) <= \rom_i|srom|rom_block|auto_generated|ram_block1a0_PORTADATAOUT_bus\(8);
\rom_i|srom|rom_block|auto_generated|q_a\(9) <= \rom_i|srom|rom_block|auto_generated|ram_block1a0_PORTADATAOUT_bus\(9);
\rom_i|srom|rom_block|auto_generated|q_a\(10) <= \rom_i|srom|rom_block|auto_generated|ram_block1a0_PORTADATAOUT_bus\(10);
\rom_i|srom|rom_block|auto_generated|q_a\(11) <= \rom_i|srom|rom_block|auto_generated|ram_block1a0_PORTADATAOUT_bus\(11);
\rom_i|srom|rom_block|auto_generated|q_a\(12) <= \rom_i|srom|rom_block|auto_generated|ram_block1a0_PORTADATAOUT_bus\(12);
\rom_i|srom|rom_block|auto_generated|q_a\(13) <= \rom_i|srom|rom_block|auto_generated|ram_block1a0_PORTADATAOUT_bus\(13);
\rom_i|srom|rom_block|auto_generated|q_a\(14) <= \rom_i|srom|rom_block|auto_generated|ram_block1a0_PORTADATAOUT_bus\(14);
\rom_i|srom|rom_block|auto_generated|q_a\(15) <= \rom_i|srom|rom_block|auto_generated|ram_block1a0_PORTADATAOUT_bus\(15);

\clk~inputclkctrl_INCLK_bus\ <= (vcc & vcc & vcc & \clk~input_o\);

\rst~inputclkctrl_INCLK_bus\ <= (vcc & vcc & vcc & \rst~input_o\);
\top_ctrl_i|u_display|ALT_INV_seg[0]~6_combout\ <= NOT \top_ctrl_i|u_display|seg[0]~6_combout\;
\top_ctrl_i|u_display|ALT_INV_seg[1]~5_combout\ <= NOT \top_ctrl_i|u_display|seg[1]~5_combout\;
\top_ctrl_i|u_display|ALT_INV_seg[2]~4_combout\ <= NOT \top_ctrl_i|u_display|seg[2]~4_combout\;
\top_ctrl_i|u_display|ALT_INV_seg[3]~3_combout\ <= NOT \top_ctrl_i|u_display|seg[3]~3_combout\;
\top_ctrl_i|u_display|ALT_INV_seg[4]~2_combout\ <= NOT \top_ctrl_i|u_display|seg[4]~2_combout\;
\top_ctrl_i|u_display|ALT_INV_seg[5]~1_combout\ <= NOT \top_ctrl_i|u_display|seg[5]~1_combout\;
\top_ctrl_i|u_key|ALT_INV_Decoder0~3_combout\ <= NOT \top_ctrl_i|u_key|Decoder0~3_combout\;
\top_ctrl_i|u_key|ALT_INV_Decoder0~2_combout\ <= NOT \top_ctrl_i|u_key|Decoder0~2_combout\;
\top_ctrl_i|u_key|ALT_INV_Decoder0~1_combout\ <= NOT \top_ctrl_i|u_key|Decoder0~1_combout\;
\ALT_INV_clk~inputclkctrl_outclk\ <= NOT \clk~inputclkctrl_outclk\;

-- Location: IOOBUF_X34_Y0_N9
\key_col[3]~output\ : cycloneiii_io_obuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	open_drain_output => "false")
-- pragma translate_on
PORT MAP (
	i => \top_ctrl_i|u_key|Decoder0~0_combout\,
	devoe => ww_devoe,
	o => \key_col[3]~output_o\);

-- Location: IOOBUF_X27_Y0_N16
\key_col[2]~output\ : cycloneiii_io_obuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	open_drain_output => "false")
-- pragma translate_on
PORT MAP (
	i => \top_ctrl_i|u_key|ALT_INV_Decoder0~1_combout\,
	devoe => ww_devoe,
	o => \key_col[2]~output_o\);

-- Location: IOOBUF_X1_Y0_N9
\key_col[1]~output\ : cycloneiii_io_obuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	open_drain_output => "false")
-- pragma translate_on
PORT MAP (
	i => \top_ctrl_i|u_key|ALT_INV_Decoder0~2_combout\,
	devoe => ww_devoe,
	o => \key_col[1]~output_o\);

-- Location: IOOBUF_X1_Y0_N23
\key_col[0]~output\ : cycloneiii_io_obuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	open_drain_output => "false")
-- pragma translate_on
PORT MAP (
	i => \top_ctrl_i|u_key|ALT_INV_Decoder0~3_combout\,
	devoe => ww_devoe,
	o => \key_col[0]~output_o\);

-- Location: IOOBUF_X41_Y43_N2
\pc[7]~output\ : cycloneiii_io_obuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	open_drain_output => "false")
-- pragma translate_on
PORT MAP (
	i => \top_ctrl_i|pc\(7),
	devoe => ww_devoe,
	o => \pc[7]~output_o\);

-- Location: IOOBUF_X41_Y43_N16
\pc[6]~output\ : cycloneiii_io_obuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	open_drain_output => "false")
-- pragma translate_on
PORT MAP (
	i => \top_ctrl_i|pc\(6),
	devoe => ww_devoe,
	o => \pc[6]~output_o\);

-- Location: IOOBUF_X38_Y43_N30
\pc[5]~output\ : cycloneiii_io_obuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	open_drain_output => "false")
-- pragma translate_on
PORT MAP (
	i => \top_ctrl_i|pc\(5),
	devoe => ww_devoe,
	o => \pc[5]~output_o\);

-- Location: IOOBUF_X38_Y43_N16
\pc[4]~output\ : cycloneiii_io_obuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	open_drain_output => "false")
-- pragma translate_on
PORT MAP (
	i => \top_ctrl_i|pc\(4),
	devoe => ww_devoe,
	o => \pc[4]~output_o\);

-- Location: IOOBUF_X38_Y43_N9
\pc[3]~output\ : cycloneiii_io_obuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	open_drain_output => "false")
-- pragma translate_on
PORT MAP (
	i => \top_ctrl_i|pc\(3),
	devoe => ww_devoe,
	o => \pc[3]~output_o\);

-- Location: IOOBUF_X43_Y43_N23
\pc[2]~output\ : cycloneiii_io_obuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	open_drain_output => "false")
-- pragma translate_on
PORT MAP (
	i => \top_ctrl_i|pc\(2),
	devoe => ww_devoe,
	o => \pc[2]~output_o\);

-- Location: IOOBUF_X38_Y43_N2
\pc[1]~output\ : cycloneiii_io_obuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	open_drain_output => "false")
-- pragma translate_on
PORT MAP (
	i => \top_ctrl_i|pc\(1),
	devoe => ww_devoe,
	o => \pc[1]~output_o\);

-- Location: IOOBUF_X38_Y43_N23
\pc[0]~output\ : cycloneiii_io_obuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	open_drain_output => "false")
-- pragma translate_on
PORT MAP (
	i => \top_ctrl_i|pc\(0),
	devoe => ww_devoe,
	o => \pc[0]~output_o\);

-- Location: IOOBUF_X67_Y35_N2
\seg[7]~output\ : cycloneiii_io_obuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	open_drain_output => "false")
-- pragma translate_on
PORT MAP (
	i => GND,
	devoe => ww_devoe,
	o => \seg[7]~output_o\);

-- Location: IOOBUF_X11_Y43_N16
\seg[6]~output\ : cycloneiii_io_obuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	open_drain_output => "false")
-- pragma translate_on
PORT MAP (
	i => \top_ctrl_i|u_display|seg[6]~0_combout\,
	devoe => ww_devoe,
	o => \seg[6]~output_o\);

-- Location: IOOBUF_X29_Y43_N23
\seg[5]~output\ : cycloneiii_io_obuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	open_drain_output => "false")
-- pragma translate_on
PORT MAP (
	i => \top_ctrl_i|u_display|ALT_INV_seg[5]~1_combout\,
	devoe => ww_devoe,
	o => \seg[5]~output_o\);

-- Location: IOOBUF_X41_Y43_N9
\seg[4]~output\ : cycloneiii_io_obuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	open_drain_output => "false")
-- pragma translate_on
PORT MAP (
	i => \top_ctrl_i|u_display|ALT_INV_seg[4]~2_combout\,
	devoe => ww_devoe,
	o => \seg[4]~output_o\);

-- Location: IOOBUF_X48_Y43_N16
\seg[3]~output\ : cycloneiii_io_obuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	open_drain_output => "false")
-- pragma translate_on
PORT MAP (
	i => \top_ctrl_i|u_display|ALT_INV_seg[3]~3_combout\,
	devoe => ww_devoe,
	o => \seg[3]~output_o\);

-- Location: IOOBUF_X54_Y43_N16
\seg[2]~output\ : cycloneiii_io_obuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	open_drain_output => "false")
-- pragma translate_on
PORT MAP (
	i => \top_ctrl_i|u_display|ALT_INV_seg[2]~4_combout\,
	devoe => ww_devoe,
	o => \seg[2]~output_o\);

-- Location: IOOBUF_X50_Y43_N23
\seg[1]~output\ : cycloneiii_io_obuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	open_drain_output => "false")
-- pragma translate_on
PORT MAP (
	i => \top_ctrl_i|u_display|ALT_INV_seg[1]~5_combout\,
	devoe => ww_devoe,
	o => \seg[1]~output_o\);

-- Location: IOOBUF_X43_Y43_N30
\seg[0]~output\ : cycloneiii_io_obuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	open_drain_output => "false")
-- pragma translate_on
PORT MAP (
	i => \top_ctrl_i|u_display|ALT_INV_seg[0]~6_combout\,
	devoe => ww_devoe,
	o => \seg[0]~output_o\);

-- Location: IOOBUF_X5_Y43_N16
\sel[2]~output\ : cycloneiii_io_obuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	open_drain_output => "false")
-- pragma translate_on
PORT MAP (
	i => \top_ctrl_i|u_display|sel\(2),
	devoe => ww_devoe,
	o => \sel[2]~output_o\);

-- Location: IOOBUF_X65_Y43_N16
\sel[1]~output\ : cycloneiii_io_obuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	open_drain_output => "false")
-- pragma translate_on
PORT MAP (
	i => \top_ctrl_i|u_display|sel\(1),
	devoe => ww_devoe,
	o => \sel[1]~output_o\);

-- Location: IOOBUF_X56_Y43_N30
\sel[0]~output\ : cycloneiii_io_obuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	open_drain_output => "false")
-- pragma translate_on
PORT MAP (
	i => \top_ctrl_i|u_display|sel\(0),
	devoe => ww_devoe,
	o => \sel[0]~output_o\);

-- Location: IOIBUF_X34_Y43_N15
\clk~input\ : cycloneiii_io_ibuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	simulate_z_as => "z")
-- pragma translate_on
PORT MAP (
	i => ww_clk,
	o => \clk~input_o\);

-- Location: CLKCTRL_G14
\clk~inputclkctrl\ : cycloneiii_clkctrl
-- pragma translate_off
GENERIC MAP (
	clock_type => "global clock",
	ena_register_mode => "none")
-- pragma translate_on
PORT MAP (
	inclk => \clk~inputclkctrl_INCLK_bus\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	outclk => \clk~inputclkctrl_outclk\);

-- Location: LCCOMB_X39_Y29_N18
\top_ctrl_i|u_display|sel[0]~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_display|sel[0]~2_combout\ = !\top_ctrl_i|u_display|sel\(0)

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0000111100001111",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datac => \top_ctrl_i|u_display|sel\(0),
	combout => \top_ctrl_i|u_display|sel[0]~2_combout\);

-- Location: IOIBUF_X67_Y22_N15
\rst~input\ : cycloneiii_io_ibuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	simulate_z_as => "z")
-- pragma translate_on
PORT MAP (
	i => ww_rst,
	o => \rst~input_o\);

-- Location: CLKCTRL_G9
\rst~inputclkctrl\ : cycloneiii_clkctrl
-- pragma translate_off
GENERIC MAP (
	clock_type => "global clock",
	ena_register_mode => "none")
-- pragma translate_on
PORT MAP (
	inclk => \rst~inputclkctrl_INCLK_bus\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	outclk => \rst~inputclkctrl_outclk\);

-- Location: FF_X39_Y29_N19
\top_ctrl_i|u_display|sel[0]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \top_ctrl_i|u_display|sel[0]~2_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \top_ctrl_i|u_display|sel\(0));

-- Location: LCCOMB_X39_Y29_N4
\top_ctrl_i|u_display|sel[1]~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_display|sel[1]~0_combout\ = \top_ctrl_i|u_display|sel\(1) $ (\top_ctrl_i|u_display|sel\(0))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0000111111110000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datac => \top_ctrl_i|u_display|sel\(1),
	datad => \top_ctrl_i|u_display|sel\(0),
	combout => \top_ctrl_i|u_display|sel[1]~0_combout\);

-- Location: FF_X39_Y29_N5
\top_ctrl_i|u_display|sel[1]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \top_ctrl_i|u_display|sel[1]~0_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \top_ctrl_i|u_display|sel\(1));

-- Location: LCCOMB_X39_Y28_N28
\top_ctrl_i|u_key|Decoder0~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_key|Decoder0~0_combout\ = (\top_ctrl_i|u_display|sel\(0)) # (\top_ctrl_i|u_display|sel\(1))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111111111110000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datac => \top_ctrl_i|u_display|sel\(0),
	datad => \top_ctrl_i|u_display|sel\(1),
	combout => \top_ctrl_i|u_key|Decoder0~0_combout\);

-- Location: LCCOMB_X39_Y28_N14
\top_ctrl_i|u_key|Decoder0~1\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_key|Decoder0~1_combout\ = (\top_ctrl_i|u_display|sel\(0) & !\top_ctrl_i|u_display|sel\(1))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0000000011110000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datac => \top_ctrl_i|u_display|sel\(0),
	datad => \top_ctrl_i|u_display|sel\(1),
	combout => \top_ctrl_i|u_key|Decoder0~1_combout\);

-- Location: LCCOMB_X39_Y28_N20
\top_ctrl_i|u_key|Decoder0~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_key|Decoder0~2_combout\ = (!\top_ctrl_i|u_display|sel\(0) & \top_ctrl_i|u_display|sel\(1))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0000111100000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datac => \top_ctrl_i|u_display|sel\(0),
	datad => \top_ctrl_i|u_display|sel\(1),
	combout => \top_ctrl_i|u_key|Decoder0~2_combout\);

-- Location: LCCOMB_X41_Y28_N20
\top_ctrl_i|u_key|Decoder0~3\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_key|Decoder0~3_combout\ = (\top_ctrl_i|u_display|sel\(1) & \top_ctrl_i|u_display|sel\(0))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1100110000000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datab => \top_ctrl_i|u_display|sel\(1),
	datad => \top_ctrl_i|u_display|sel\(0),
	combout => \top_ctrl_i|u_key|Decoder0~3_combout\);

-- Location: IOIBUF_X34_Y0_N1
\m[0]~input\ : cycloneiii_io_ibuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	simulate_z_as => "z")
-- pragma translate_on
PORT MAP (
	i => ww_m(0),
	o => \m[0]~input_o\);

-- Location: IOIBUF_X22_Y0_N1
\m[1]~input\ : cycloneiii_io_ibuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	simulate_z_as => "z")
-- pragma translate_on
PORT MAP (
	i => ww_m(1),
	o => \m[1]~input_o\);

-- Location: IOIBUF_X32_Y0_N1
\key_row[0]~input\ : cycloneiii_io_ibuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	simulate_z_as => "z")
-- pragma translate_on
PORT MAP (
	i => ww_key_row(0),
	o => \key_row[0]~input_o\);

-- Location: IOIBUF_X27_Y0_N1
\key_row[2]~input\ : cycloneiii_io_ibuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	simulate_z_as => "z")
-- pragma translate_on
PORT MAP (
	i => ww_key_row(2),
	o => \key_row[2]~input_o\);

-- Location: IOIBUF_X29_Y0_N15
\key_row[1]~input\ : cycloneiii_io_ibuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	simulate_z_as => "z")
-- pragma translate_on
PORT MAP (
	i => ww_key_row(1),
	o => \key_row[1]~input_o\);

-- Location: IOIBUF_X29_Y0_N8
\key_row[3]~input\ : cycloneiii_io_ibuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	simulate_z_as => "z")
-- pragma translate_on
PORT MAP (
	i => ww_key_row(3),
	o => \key_row[3]~input_o\);

-- Location: LCCOMB_X39_Y29_N30
\top_ctrl_i|u_key|WideOr0~1\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_key|WideOr0~1_combout\ = (\top_ctrl_i|u_display|sel\(0) & (\key_row[2]~input_o\ & (\key_row[1]~input_o\ $ (\key_row[3]~input_o\)))) # (!\top_ctrl_i|u_display|sel\(0) & (\key_row[3]~input_o\ & (\key_row[2]~input_o\ $ (\key_row[1]~input_o\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0010100001100000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \key_row[2]~input_o\,
	datab => \key_row[1]~input_o\,
	datac => \key_row[3]~input_o\,
	datad => \top_ctrl_i|u_display|sel\(0),
	combout => \top_ctrl_i|u_key|WideOr0~1_combout\);

-- Location: LCCOMB_X39_Y29_N0
\top_ctrl_i|u_key|WideOr0~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_key|WideOr0~0_combout\ = (!\key_row[0]~input_o\ & (\key_row[2]~input_o\ & (\key_row[3]~input_o\ & \key_row[1]~input_o\)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0100000000000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \key_row[0]~input_o\,
	datab => \key_row[2]~input_o\,
	datac => \key_row[3]~input_o\,
	datad => \key_row[1]~input_o\,
	combout => \top_ctrl_i|u_key|WideOr0~0_combout\);

-- Location: LCCOMB_X39_Y29_N28
\top_ctrl_i|u_key|WideOr0~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_key|WideOr0~2_combout\ = (\top_ctrl_i|u_key|WideOr0~0_combout\) # ((\key_row[0]~input_o\ & (\top_ctrl_i|u_display|sel\(1) & \top_ctrl_i|u_key|WideOr0~1_combout\)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111111110000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \key_row[0]~input_o\,
	datab => \top_ctrl_i|u_display|sel\(1),
	datac => \top_ctrl_i|u_key|WideOr0~1_combout\,
	datad => \top_ctrl_i|u_key|WideOr0~0_combout\,
	combout => \top_ctrl_i|u_key|WideOr0~2_combout\);

-- Location: FF_X39_Y29_N29
\top_ctrl_i|u_key|val[3]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \top_ctrl_i|u_key|WideOr0~2_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \top_ctrl_i|u_key|val\(3));

-- Location: LCCOMB_X39_Y29_N22
\top_ctrl_i|u_key|WideOr1~1\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_key|WideOr1~1_combout\ = (\key_row[2]~input_o\ & \key_row[0]~input_o\)

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1100000011000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datab => \key_row[2]~input_o\,
	datac => \key_row[0]~input_o\,
	combout => \top_ctrl_i|u_key|WideOr1~1_combout\);

-- Location: LCCOMB_X39_Y29_N14
\top_ctrl_i|u_key|WideOr0~3\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_key|WideOr0~3_combout\ = (\key_row[3]~input_o\ & \key_row[1]~input_o\)

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111000000000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datac => \key_row[3]~input_o\,
	datad => \key_row[1]~input_o\,
	combout => \top_ctrl_i|u_key|WideOr0~3_combout\);

-- Location: LCCOMB_X39_Y29_N16
\top_ctrl_i|u_key|WideOr1~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_key|WideOr1~2_combout\ = (\key_row[0]~input_o\ & (!\key_row[2]~input_o\ & (!\top_ctrl_i|u_display|sel\(1) & \top_ctrl_i|u_display|sel\(0)))) # (!\key_row[0]~input_o\ & (\key_row[2]~input_o\ & (\top_ctrl_i|u_display|sel\(1))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0100001001000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \key_row[0]~input_o\,
	datab => \key_row[2]~input_o\,
	datac => \top_ctrl_i|u_display|sel\(1),
	datad => \top_ctrl_i|u_display|sel\(0),
	combout => \top_ctrl_i|u_key|WideOr1~2_combout\);

-- Location: LCCOMB_X39_Y29_N12
\top_ctrl_i|u_key|WideOr1~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_key|WideOr1~0_combout\ = (\key_row[3]~input_o\ & (!\key_row[1]~input_o\ & ((\top_ctrl_i|u_display|sel\(0))))) # (!\key_row[3]~input_o\ & (\key_row[1]~input_o\ & ((\top_ctrl_i|u_display|sel\(1)) # (\top_ctrl_i|u_display|sel\(0)))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0110011001000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \key_row[3]~input_o\,
	datab => \key_row[1]~input_o\,
	datac => \top_ctrl_i|u_display|sel\(1),
	datad => \top_ctrl_i|u_display|sel\(0),
	combout => \top_ctrl_i|u_key|WideOr1~0_combout\);

-- Location: LCCOMB_X43_Y29_N28
\top_ctrl_i|u_key|WideOr1~3\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_key|WideOr1~3_combout\ = (\top_ctrl_i|u_key|WideOr1~1_combout\ & ((\top_ctrl_i|u_key|WideOr1~0_combout\) # ((\top_ctrl_i|u_key|WideOr0~3_combout\ & \top_ctrl_i|u_key|WideOr1~2_combout\)))) # (!\top_ctrl_i|u_key|WideOr1~1_combout\ & 
-- (\top_ctrl_i|u_key|WideOr0~3_combout\ & (\top_ctrl_i|u_key|WideOr1~2_combout\)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1110101011000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|u_key|WideOr1~1_combout\,
	datab => \top_ctrl_i|u_key|WideOr0~3_combout\,
	datac => \top_ctrl_i|u_key|WideOr1~2_combout\,
	datad => \top_ctrl_i|u_key|WideOr1~0_combout\,
	combout => \top_ctrl_i|u_key|WideOr1~3_combout\);

-- Location: FF_X43_Y29_N29
\top_ctrl_i|u_key|val[2]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \top_ctrl_i|u_key|WideOr1~3_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \top_ctrl_i|u_key|val\(2));

-- Location: LCCOMB_X39_Y29_N6
\top_ctrl_i|u_key|WideOr2~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_key|WideOr2~0_combout\ = (\key_row[3]~input_o\ & (!\key_row[1]~input_o\ & ((\top_ctrl_i|u_display|sel\(0)) # (!\top_ctrl_i|u_display|sel\(1))))) # (!\key_row[3]~input_o\ & (\key_row[1]~input_o\ & (\top_ctrl_i|u_display|sel\(1))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0110001001000010",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \key_row[3]~input_o\,
	datab => \key_row[1]~input_o\,
	datac => \top_ctrl_i|u_display|sel\(1),
	datad => \top_ctrl_i|u_display|sel\(0),
	combout => \top_ctrl_i|u_key|WideOr2~0_combout\);

-- Location: LCCOMB_X39_Y29_N8
\top_ctrl_i|u_key|WideOr2~1\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_key|WideOr2~1_combout\ = (!\top_ctrl_i|u_display|sel\(1) & ((\key_row[0]~input_o\ & (!\key_row[2]~input_o\ & !\top_ctrl_i|u_display|sel\(0))) # (!\key_row[0]~input_o\ & (\key_row[2]~input_o\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0000010000000110",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \key_row[0]~input_o\,
	datab => \key_row[2]~input_o\,
	datac => \top_ctrl_i|u_display|sel\(1),
	datad => \top_ctrl_i|u_display|sel\(0),
	combout => \top_ctrl_i|u_key|WideOr2~1_combout\);

-- Location: LCCOMB_X43_Y29_N10
\top_ctrl_i|u_key|WideOr2~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_key|WideOr2~2_combout\ = (\top_ctrl_i|u_key|WideOr1~1_combout\ & ((\top_ctrl_i|u_key|WideOr2~0_combout\) # ((\top_ctrl_i|u_key|WideOr0~3_combout\ & \top_ctrl_i|u_key|WideOr2~1_combout\)))) # (!\top_ctrl_i|u_key|WideOr1~1_combout\ & 
-- (\top_ctrl_i|u_key|WideOr0~3_combout\ & ((\top_ctrl_i|u_key|WideOr2~1_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1110110010100000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|u_key|WideOr1~1_combout\,
	datab => \top_ctrl_i|u_key|WideOr0~3_combout\,
	datac => \top_ctrl_i|u_key|WideOr2~0_combout\,
	datad => \top_ctrl_i|u_key|WideOr2~1_combout\,
	combout => \top_ctrl_i|u_key|WideOr2~2_combout\);

-- Location: FF_X43_Y29_N11
\top_ctrl_i|u_key|val[1]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \top_ctrl_i|u_key|WideOr2~2_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \top_ctrl_i|u_key|val\(1));

-- Location: LCCOMB_X39_Y29_N10
\top_ctrl_i|u_key|WideOr3~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_key|WideOr3~0_combout\ = (\key_row[1]~input_o\ & ((\key_row[0]~input_o\ & (!\top_ctrl_i|u_display|sel\(1) & !\key_row[2]~input_o\)) # (!\key_row[0]~input_o\ & ((\key_row[2]~input_o\))))) # (!\key_row[1]~input_o\ & 
-- (((\top_ctrl_i|u_display|sel\(1)))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0111010000111000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \key_row[0]~input_o\,
	datab => \key_row[1]~input_o\,
	datac => \top_ctrl_i|u_display|sel\(1),
	datad => \key_row[2]~input_o\,
	combout => \top_ctrl_i|u_key|WideOr3~0_combout\);

-- Location: LCCOMB_X39_Y29_N20
\top_ctrl_i|u_key|WideOr3~1\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_key|WideOr3~1_combout\ = (\key_row[3]~input_o\ & ((\top_ctrl_i|u_key|WideOr3~0_combout\) # (!\top_ctrl_i|u_display|sel\(0))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111000000110000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datab => \top_ctrl_i|u_display|sel\(0),
	datac => \key_row[3]~input_o\,
	datad => \top_ctrl_i|u_key|WideOr3~0_combout\,
	combout => \top_ctrl_i|u_key|WideOr3~1_combout\);

-- Location: LCCOMB_X39_Y29_N26
\top_ctrl_i|u_key|WideOr3~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_key|WideOr3~2_combout\ = (\top_ctrl_i|u_display|sel\(0) & (\top_ctrl_i|u_key|WideOr3~1_combout\ & ((\key_row[1]~input_o\) # (\top_ctrl_i|u_key|WideOr1~1_combout\)))) # (!\top_ctrl_i|u_display|sel\(0) & (\top_ctrl_i|u_key|WideOr1~1_combout\ & 
-- (\key_row[1]~input_o\ $ (\top_ctrl_i|u_key|WideOr3~1_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1011100001000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|u_display|sel\(0),
	datab => \key_row[1]~input_o\,
	datac => \top_ctrl_i|u_key|WideOr1~1_combout\,
	datad => \top_ctrl_i|u_key|WideOr3~1_combout\,
	combout => \top_ctrl_i|u_key|WideOr3~2_combout\);

-- Location: FF_X39_Y29_N27
\top_ctrl_i|u_key|val[0]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \top_ctrl_i|u_key|WideOr3~2_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \top_ctrl_i|u_key|val\(0));

-- Location: LCCOMB_X41_Y29_N0
\top_ctrl_i|Add2~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add2~0_combout\ = \top_ctrl_i|pc\(0) $ (VCC)
-- \top_ctrl_i|Add2~1\ = CARRY(\top_ctrl_i|pc\(0))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0101010110101010",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|pc\(0),
	datad => VCC,
	combout => \top_ctrl_i|Add2~0_combout\,
	cout => \top_ctrl_i|Add2~1\);

-- Location: LCCOMB_X41_Y29_N16
\top_ctrl_i|Add1~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add1~0_combout\ = \top_ctrl_i|pc\(0) $ (VCC)
-- \top_ctrl_i|Add1~1\ = CARRY(\top_ctrl_i|pc\(0))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0101010110101010",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|pc\(0),
	datad => VCC,
	combout => \top_ctrl_i|Add1~0_combout\,
	cout => \top_ctrl_i|Add1~1\);

-- Location: LCCOMB_X42_Y29_N26
\top_ctrl_i|Add1~30\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add1~30_combout\ = (\m[0]~input_o\ & ((\m[1]~input_o\ & ((\top_ctrl_i|u_key|val\(0)))) # (!\m[1]~input_o\ & (\top_ctrl_i|Add1~0_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1110001000000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|Add1~0_combout\,
	datab => \m[1]~input_o\,
	datac => \top_ctrl_i|u_key|val\(0),
	datad => \m[0]~input_o\,
	combout => \top_ctrl_i|Add1~30_combout\);

-- Location: LCCOMB_X42_Y29_N6
\top_ctrl_i|Add1~31\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add1~31_combout\ = (\top_ctrl_i|Add1~30_combout\) # ((\top_ctrl_i|Add2~0_combout\ & (\m[1]~input_o\ & !\m[0]~input_o\)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111000011111000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|Add2~0_combout\,
	datab => \m[1]~input_o\,
	datac => \top_ctrl_i|Add1~30_combout\,
	datad => \m[0]~input_o\,
	combout => \top_ctrl_i|Add1~31_combout\);

-- Location: LCCOMB_X43_Y29_N20
\top_ctrl_i|pc[6]~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|pc[6]~0_combout\ = \m[1]~input_o\ $ (\m[0]~input_o\)

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0011001111001100",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datab => \m[1]~input_o\,
	datad => \m[0]~input_o\,
	combout => \top_ctrl_i|pc[6]~0_combout\);

-- Location: LCCOMB_X45_Y29_N16
\top_ctrl_i|Add0~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add0~0_combout\ = \top_ctrl_i|cnt\(0) $ (VCC)
-- \top_ctrl_i|Add0~1\ = CARRY(\top_ctrl_i|cnt\(0))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0011001111001100",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datab => \top_ctrl_i|cnt\(0),
	datad => VCC,
	combout => \top_ctrl_i|Add0~0_combout\,
	cout => \top_ctrl_i|Add0~1\);

-- Location: FF_X45_Y29_N17
\top_ctrl_i|cnt[0]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \clk~inputclkctrl_outclk\,
	d => \top_ctrl_i|Add0~0_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \top_ctrl_i|cnt\(0));

-- Location: LCCOMB_X45_Y29_N18
\top_ctrl_i|Add0~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add0~2_combout\ = (\top_ctrl_i|cnt\(1) & (!\top_ctrl_i|Add0~1\)) # (!\top_ctrl_i|cnt\(1) & ((\top_ctrl_i|Add0~1\) # (GND)))
-- \top_ctrl_i|Add0~3\ = CARRY((!\top_ctrl_i|Add0~1\) # (!\top_ctrl_i|cnt\(1)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0011110000111111",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	datab => \top_ctrl_i|cnt\(1),
	datad => VCC,
	cin => \top_ctrl_i|Add0~1\,
	combout => \top_ctrl_i|Add0~2_combout\,
	cout => \top_ctrl_i|Add0~3\);

-- Location: FF_X45_Y29_N19
\top_ctrl_i|cnt[1]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \clk~inputclkctrl_outclk\,
	d => \top_ctrl_i|Add0~2_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \top_ctrl_i|cnt\(1));

-- Location: LCCOMB_X45_Y29_N20
\top_ctrl_i|Add0~4\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add0~4_combout\ = (\top_ctrl_i|cnt\(2) & (\top_ctrl_i|Add0~3\ $ (GND))) # (!\top_ctrl_i|cnt\(2) & (!\top_ctrl_i|Add0~3\ & VCC))
-- \top_ctrl_i|Add0~5\ = CARRY((\top_ctrl_i|cnt\(2) & !\top_ctrl_i|Add0~3\))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1100001100001100",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	datab => \top_ctrl_i|cnt\(2),
	datad => VCC,
	cin => \top_ctrl_i|Add0~3\,
	combout => \top_ctrl_i|Add0~4_combout\,
	cout => \top_ctrl_i|Add0~5\);

-- Location: FF_X45_Y29_N21
\top_ctrl_i|cnt[2]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \clk~inputclkctrl_outclk\,
	d => \top_ctrl_i|Add0~4_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \top_ctrl_i|cnt\(2));

-- Location: LCCOMB_X45_Y29_N22
\top_ctrl_i|Add0~6\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add0~6_combout\ = (\top_ctrl_i|cnt\(3) & (!\top_ctrl_i|Add0~5\)) # (!\top_ctrl_i|cnt\(3) & ((\top_ctrl_i|Add0~5\) # (GND)))
-- \top_ctrl_i|Add0~7\ = CARRY((!\top_ctrl_i|Add0~5\) # (!\top_ctrl_i|cnt\(3)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0101101001011111",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|cnt\(3),
	datad => VCC,
	cin => \top_ctrl_i|Add0~5\,
	combout => \top_ctrl_i|Add0~6_combout\,
	cout => \top_ctrl_i|Add0~7\);

-- Location: FF_X45_Y29_N23
\top_ctrl_i|cnt[3]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \clk~inputclkctrl_outclk\,
	d => \top_ctrl_i|Add0~6_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \top_ctrl_i|cnt\(3));

-- Location: LCCOMB_X45_Y29_N24
\top_ctrl_i|Add0~8\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add0~8_combout\ = (\top_ctrl_i|cnt\(4) & (\top_ctrl_i|Add0~7\ $ (GND))) # (!\top_ctrl_i|cnt\(4) & (!\top_ctrl_i|Add0~7\ & VCC))
-- \top_ctrl_i|Add0~9\ = CARRY((\top_ctrl_i|cnt\(4) & !\top_ctrl_i|Add0~7\))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1100001100001100",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	datab => \top_ctrl_i|cnt\(4),
	datad => VCC,
	cin => \top_ctrl_i|Add0~7\,
	combout => \top_ctrl_i|Add0~8_combout\,
	cout => \top_ctrl_i|Add0~9\);

-- Location: FF_X45_Y29_N25
\top_ctrl_i|cnt[4]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \clk~inputclkctrl_outclk\,
	d => \top_ctrl_i|Add0~8_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \top_ctrl_i|cnt\(4));

-- Location: LCCOMB_X45_Y29_N6
\top_ctrl_i|Equal0~3\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Equal0~3_combout\ = (\top_ctrl_i|cnt\(3) & (\top_ctrl_i|cnt\(4) & (\top_ctrl_i|cnt\(2) & \top_ctrl_i|cnt\(1))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1000000000000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|cnt\(3),
	datab => \top_ctrl_i|cnt\(4),
	datac => \top_ctrl_i|cnt\(2),
	datad => \top_ctrl_i|cnt\(1),
	combout => \top_ctrl_i|Equal0~3_combout\);

-- Location: LCCOMB_X45_Y29_N26
\top_ctrl_i|Add0~10\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add0~10_combout\ = (\top_ctrl_i|cnt\(5) & (!\top_ctrl_i|Add0~9\)) # (!\top_ctrl_i|cnt\(5) & ((\top_ctrl_i|Add0~9\) # (GND)))
-- \top_ctrl_i|Add0~11\ = CARRY((!\top_ctrl_i|Add0~9\) # (!\top_ctrl_i|cnt\(5)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0101101001011111",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|cnt\(5),
	datad => VCC,
	cin => \top_ctrl_i|Add0~9\,
	combout => \top_ctrl_i|Add0~10_combout\,
	cout => \top_ctrl_i|Add0~11\);

-- Location: LCCOMB_X45_Y29_N10
\top_ctrl_i|cnt~5\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|cnt~5_combout\ = (\top_ctrl_i|Add0~10_combout\ & ((!\top_ctrl_i|Equal0~4_combout\) # (!\top_ctrl_i|cnt\(0))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0011000011110000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datab => \top_ctrl_i|cnt\(0),
	datac => \top_ctrl_i|Add0~10_combout\,
	datad => \top_ctrl_i|Equal0~4_combout\,
	combout => \top_ctrl_i|cnt~5_combout\);

-- Location: FF_X45_Y29_N11
\top_ctrl_i|cnt[5]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \clk~inputclkctrl_outclk\,
	d => \top_ctrl_i|cnt~5_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \top_ctrl_i|cnt\(5));

-- Location: LCCOMB_X45_Y29_N28
\top_ctrl_i|Add0~12\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add0~12_combout\ = (\top_ctrl_i|cnt\(6) & (\top_ctrl_i|Add0~11\ $ (GND))) # (!\top_ctrl_i|cnt\(6) & (!\top_ctrl_i|Add0~11\ & VCC))
-- \top_ctrl_i|Add0~13\ = CARRY((\top_ctrl_i|cnt\(6) & !\top_ctrl_i|Add0~11\))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1100001100001100",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	datab => \top_ctrl_i|cnt\(6),
	datad => VCC,
	cin => \top_ctrl_i|Add0~11\,
	combout => \top_ctrl_i|Add0~12_combout\,
	cout => \top_ctrl_i|Add0~13\);

-- Location: FF_X45_Y29_N29
\top_ctrl_i|cnt[6]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \clk~inputclkctrl_outclk\,
	d => \top_ctrl_i|Add0~12_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \top_ctrl_i|cnt\(6));

-- Location: LCCOMB_X45_Y29_N30
\top_ctrl_i|Add0~14\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add0~14_combout\ = (\top_ctrl_i|cnt\(7) & (!\top_ctrl_i|Add0~13\)) # (!\top_ctrl_i|cnt\(7) & ((\top_ctrl_i|Add0~13\) # (GND)))
-- \top_ctrl_i|Add0~15\ = CARRY((!\top_ctrl_i|Add0~13\) # (!\top_ctrl_i|cnt\(7)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0011110000111111",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	datab => \top_ctrl_i|cnt\(7),
	datad => VCC,
	cin => \top_ctrl_i|Add0~13\,
	combout => \top_ctrl_i|Add0~14_combout\,
	cout => \top_ctrl_i|Add0~15\);

-- Location: LCCOMB_X45_Y29_N8
\top_ctrl_i|cnt~4\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|cnt~4_combout\ = (\top_ctrl_i|Add0~14_combout\ & ((!\top_ctrl_i|Equal0~4_combout\) # (!\top_ctrl_i|cnt\(0))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0011000011110000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datab => \top_ctrl_i|cnt\(0),
	datac => \top_ctrl_i|Add0~14_combout\,
	datad => \top_ctrl_i|Equal0~4_combout\,
	combout => \top_ctrl_i|cnt~4_combout\);

-- Location: FF_X45_Y29_N9
\top_ctrl_i|cnt[7]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \clk~inputclkctrl_outclk\,
	d => \top_ctrl_i|cnt~4_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \top_ctrl_i|cnt\(7));

-- Location: LCCOMB_X45_Y28_N0
\top_ctrl_i|Add0~16\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add0~16_combout\ = (\top_ctrl_i|cnt\(8) & (\top_ctrl_i|Add0~15\ $ (GND))) # (!\top_ctrl_i|cnt\(8) & (!\top_ctrl_i|Add0~15\ & VCC))
-- \top_ctrl_i|Add0~17\ = CARRY((\top_ctrl_i|cnt\(8) & !\top_ctrl_i|Add0~15\))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1100001100001100",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	datab => \top_ctrl_i|cnt\(8),
	datad => VCC,
	cin => \top_ctrl_i|Add0~15\,
	combout => \top_ctrl_i|Add0~16_combout\,
	cout => \top_ctrl_i|Add0~17\);

-- Location: FF_X45_Y28_N1
\top_ctrl_i|cnt[8]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \clk~inputclkctrl_outclk\,
	d => \top_ctrl_i|Add0~16_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \top_ctrl_i|cnt\(8));

-- Location: LCCOMB_X45_Y29_N4
\top_ctrl_i|Equal0~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Equal0~2_combout\ = (!\top_ctrl_i|cnt\(5) & (!\top_ctrl_i|cnt\(6) & (\top_ctrl_i|cnt\(7) & !\top_ctrl_i|cnt\(8))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0000000000010000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|cnt\(5),
	datab => \top_ctrl_i|cnt\(6),
	datac => \top_ctrl_i|cnt\(7),
	datad => \top_ctrl_i|cnt\(8),
	combout => \top_ctrl_i|Equal0~2_combout\);

-- Location: LCCOMB_X45_Y28_N2
\top_ctrl_i|Add0~18\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add0~18_combout\ = (\top_ctrl_i|cnt\(9) & (!\top_ctrl_i|Add0~17\)) # (!\top_ctrl_i|cnt\(9) & ((\top_ctrl_i|Add0~17\) # (GND)))
-- \top_ctrl_i|Add0~19\ = CARRY((!\top_ctrl_i|Add0~17\) # (!\top_ctrl_i|cnt\(9)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0101101001011111",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|cnt\(9),
	datad => VCC,
	cin => \top_ctrl_i|Add0~17\,
	combout => \top_ctrl_i|Add0~18_combout\,
	cout => \top_ctrl_i|Add0~19\);

-- Location: LCCOMB_X45_Y28_N30
\top_ctrl_i|cnt~3\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|cnt~3_combout\ = (\top_ctrl_i|Add0~18_combout\ & ((!\top_ctrl_i|Equal0~4_combout\) # (!\top_ctrl_i|cnt\(0))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0000110011001100",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datab => \top_ctrl_i|Add0~18_combout\,
	datac => \top_ctrl_i|cnt\(0),
	datad => \top_ctrl_i|Equal0~4_combout\,
	combout => \top_ctrl_i|cnt~3_combout\);

-- Location: FF_X45_Y28_N31
\top_ctrl_i|cnt[9]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \clk~inputclkctrl_outclk\,
	d => \top_ctrl_i|cnt~3_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \top_ctrl_i|cnt\(9));

-- Location: LCCOMB_X45_Y28_N4
\top_ctrl_i|Add0~20\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add0~20_combout\ = (\top_ctrl_i|cnt\(10) & (\top_ctrl_i|Add0~19\ $ (GND))) # (!\top_ctrl_i|cnt\(10) & (!\top_ctrl_i|Add0~19\ & VCC))
-- \top_ctrl_i|Add0~21\ = CARRY((\top_ctrl_i|cnt\(10) & !\top_ctrl_i|Add0~19\))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1100001100001100",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	datab => \top_ctrl_i|cnt\(10),
	datad => VCC,
	cin => \top_ctrl_i|Add0~19\,
	combout => \top_ctrl_i|Add0~20_combout\,
	cout => \top_ctrl_i|Add0~21\);

-- Location: LCCOMB_X45_Y28_N24
\top_ctrl_i|cnt~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|cnt~2_combout\ = (\top_ctrl_i|Add0~20_combout\ & ((!\top_ctrl_i|Equal0~4_combout\) # (!\top_ctrl_i|cnt\(0))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0011000011110000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datab => \top_ctrl_i|cnt\(0),
	datac => \top_ctrl_i|Add0~20_combout\,
	datad => \top_ctrl_i|Equal0~4_combout\,
	combout => \top_ctrl_i|cnt~2_combout\);

-- Location: FF_X45_Y28_N25
\top_ctrl_i|cnt[10]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \clk~inputclkctrl_outclk\,
	d => \top_ctrl_i|cnt~2_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \top_ctrl_i|cnt\(10));

-- Location: LCCOMB_X45_Y28_N6
\top_ctrl_i|Add0~22\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add0~22_combout\ = (\top_ctrl_i|cnt\(11) & (!\top_ctrl_i|Add0~21\)) # (!\top_ctrl_i|cnt\(11) & ((\top_ctrl_i|Add0~21\) # (GND)))
-- \top_ctrl_i|Add0~23\ = CARRY((!\top_ctrl_i|Add0~21\) # (!\top_ctrl_i|cnt\(11)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0101101001011111",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|cnt\(11),
	datad => VCC,
	cin => \top_ctrl_i|Add0~21\,
	combout => \top_ctrl_i|Add0~22_combout\,
	cout => \top_ctrl_i|Add0~23\);

-- Location: FF_X45_Y28_N7
\top_ctrl_i|cnt[11]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \clk~inputclkctrl_outclk\,
	d => \top_ctrl_i|Add0~22_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \top_ctrl_i|cnt\(11));

-- Location: LCCOMB_X45_Y28_N8
\top_ctrl_i|Add0~24\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add0~24_combout\ = (\top_ctrl_i|cnt\(12) & (\top_ctrl_i|Add0~23\ $ (GND))) # (!\top_ctrl_i|cnt\(12) & (!\top_ctrl_i|Add0~23\ & VCC))
-- \top_ctrl_i|Add0~25\ = CARRY((\top_ctrl_i|cnt\(12) & !\top_ctrl_i|Add0~23\))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1100001100001100",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	datab => \top_ctrl_i|cnt\(12),
	datad => VCC,
	cin => \top_ctrl_i|Add0~23\,
	combout => \top_ctrl_i|Add0~24_combout\,
	cout => \top_ctrl_i|Add0~25\);

-- Location: FF_X45_Y28_N9
\top_ctrl_i|cnt[12]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \clk~inputclkctrl_outclk\,
	d => \top_ctrl_i|Add0~24_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \top_ctrl_i|cnt\(12));

-- Location: LCCOMB_X45_Y28_N10
\top_ctrl_i|Add0~26\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add0~26_combout\ = (\top_ctrl_i|cnt\(13) & (!\top_ctrl_i|Add0~25\)) # (!\top_ctrl_i|cnt\(13) & ((\top_ctrl_i|Add0~25\) # (GND)))
-- \top_ctrl_i|Add0~27\ = CARRY((!\top_ctrl_i|Add0~25\) # (!\top_ctrl_i|cnt\(13)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0101101001011111",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|cnt\(13),
	datad => VCC,
	cin => \top_ctrl_i|Add0~25\,
	combout => \top_ctrl_i|Add0~26_combout\,
	cout => \top_ctrl_i|Add0~27\);

-- Location: FF_X45_Y28_N11
\top_ctrl_i|cnt[13]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \clk~inputclkctrl_outclk\,
	d => \top_ctrl_i|Add0~26_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \top_ctrl_i|cnt\(13));

-- Location: LCCOMB_X45_Y28_N12
\top_ctrl_i|Add0~28\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add0~28_combout\ = (\top_ctrl_i|cnt\(14) & (\top_ctrl_i|Add0~27\ $ (GND))) # (!\top_ctrl_i|cnt\(14) & (!\top_ctrl_i|Add0~27\ & VCC))
-- \top_ctrl_i|Add0~29\ = CARRY((\top_ctrl_i|cnt\(14) & !\top_ctrl_i|Add0~27\))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1010010100001010",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|cnt\(14),
	datad => VCC,
	cin => \top_ctrl_i|Add0~27\,
	combout => \top_ctrl_i|Add0~28_combout\,
	cout => \top_ctrl_i|Add0~29\);

-- Location: FF_X45_Y28_N13
\top_ctrl_i|cnt[14]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \clk~inputclkctrl_outclk\,
	d => \top_ctrl_i|Add0~28_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \top_ctrl_i|cnt\(14));

-- Location: LCCOMB_X45_Y28_N14
\top_ctrl_i|Add0~30\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add0~30_combout\ = (\top_ctrl_i|cnt\(15) & (!\top_ctrl_i|Add0~29\)) # (!\top_ctrl_i|cnt\(15) & ((\top_ctrl_i|Add0~29\) # (GND)))
-- \top_ctrl_i|Add0~31\ = CARRY((!\top_ctrl_i|Add0~29\) # (!\top_ctrl_i|cnt\(15)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0011110000111111",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	datab => \top_ctrl_i|cnt\(15),
	datad => VCC,
	cin => \top_ctrl_i|Add0~29\,
	combout => \top_ctrl_i|Add0~30_combout\,
	cout => \top_ctrl_i|Add0~31\);

-- Location: LCCOMB_X45_Y28_N28
\top_ctrl_i|cnt~1\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|cnt~1_combout\ = (\top_ctrl_i|Add0~30_combout\ & ((!\top_ctrl_i|Equal0~4_combout\) # (!\top_ctrl_i|cnt\(0))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0011000011110000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datab => \top_ctrl_i|cnt\(0),
	datac => \top_ctrl_i|Add0~30_combout\,
	datad => \top_ctrl_i|Equal0~4_combout\,
	combout => \top_ctrl_i|cnt~1_combout\);

-- Location: FF_X45_Y28_N29
\top_ctrl_i|cnt[15]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \clk~inputclkctrl_outclk\,
	d => \top_ctrl_i|cnt~1_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \top_ctrl_i|cnt\(15));

-- Location: LCCOMB_X45_Y28_N16
\top_ctrl_i|Add0~32\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add0~32_combout\ = \top_ctrl_i|cnt\(16) $ (!\top_ctrl_i|Add0~31\)

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1010010110100101",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|cnt\(16),
	cin => \top_ctrl_i|Add0~31\,
	combout => \top_ctrl_i|Add0~32_combout\);

-- Location: LCCOMB_X45_Y28_N26
\top_ctrl_i|cnt~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|cnt~0_combout\ = (\top_ctrl_i|Add0~32_combout\ & ((!\top_ctrl_i|cnt\(0)) # (!\top_ctrl_i|Equal0~4_combout\)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0011111100000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datab => \top_ctrl_i|Equal0~4_combout\,
	datac => \top_ctrl_i|cnt\(0),
	datad => \top_ctrl_i|Add0~32_combout\,
	combout => \top_ctrl_i|cnt~0_combout\);

-- Location: FF_X45_Y28_N27
\top_ctrl_i|cnt[16]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \clk~inputclkctrl_outclk\,
	d => \top_ctrl_i|cnt~0_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \top_ctrl_i|cnt\(16));

-- Location: LCCOMB_X45_Y28_N18
\top_ctrl_i|Equal0~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Equal0~0_combout\ = (!\top_ctrl_i|cnt\(14) & (\top_ctrl_i|cnt\(15) & (\top_ctrl_i|cnt\(16) & !\top_ctrl_i|cnt\(13))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0000000001000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|cnt\(14),
	datab => \top_ctrl_i|cnt\(15),
	datac => \top_ctrl_i|cnt\(16),
	datad => \top_ctrl_i|cnt\(13),
	combout => \top_ctrl_i|Equal0~0_combout\);

-- Location: LCCOMB_X45_Y28_N20
\top_ctrl_i|Equal0~1\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Equal0~1_combout\ = (!\top_ctrl_i|cnt\(11) & (!\top_ctrl_i|cnt\(12) & (\top_ctrl_i|cnt\(9) & \top_ctrl_i|cnt\(10))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0001000000000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|cnt\(11),
	datab => \top_ctrl_i|cnt\(12),
	datac => \top_ctrl_i|cnt\(9),
	datad => \top_ctrl_i|cnt\(10),
	combout => \top_ctrl_i|Equal0~1_combout\);

-- Location: LCCOMB_X45_Y29_N12
\top_ctrl_i|Equal0~4\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Equal0~4_combout\ = (\top_ctrl_i|Equal0~3_combout\ & (\top_ctrl_i|Equal0~2_combout\ & (\top_ctrl_i|Equal0~0_combout\ & \top_ctrl_i|Equal0~1_combout\)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1000000000000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|Equal0~3_combout\,
	datab => \top_ctrl_i|Equal0~2_combout\,
	datac => \top_ctrl_i|Equal0~0_combout\,
	datad => \top_ctrl_i|Equal0~1_combout\,
	combout => \top_ctrl_i|Equal0~4_combout\);

-- Location: IOIBUF_X0_Y4_N1
\key_sel~input\ : cycloneiii_io_ibuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	simulate_z_as => "z")
-- pragma translate_on
PORT MAP (
	i => ww_key_sel,
	o => \key_sel~input_o\);

-- Location: LCCOMB_X39_Y29_N24
\top_ctrl_i|u_key|WideOr4~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_key|WideOr4~0_combout\ = (\key_row[0]~input_o\ & ((\key_row[2]~input_o\ & (\key_row[3]~input_o\ $ (\key_row[1]~input_o\))) # (!\key_row[2]~input_o\ & (\key_row[3]~input_o\ & \key_row[1]~input_o\)))) # (!\key_row[0]~input_o\ & 
-- (\key_row[2]~input_o\ & (\key_row[3]~input_o\ & \key_row[1]~input_o\)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0110100010000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \key_row[0]~input_o\,
	datab => \key_row[2]~input_o\,
	datac => \key_row[3]~input_o\,
	datad => \key_row[1]~input_o\,
	combout => \top_ctrl_i|u_key|WideOr4~0_combout\);

-- Location: FF_X43_Y29_N21
\top_ctrl_i|u_key|is_pressed\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	asdata => \top_ctrl_i|u_key|WideOr4~0_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	sload => VCC,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \top_ctrl_i|u_key|is_pressed~q\);

-- Location: LCCOMB_X43_Y29_N4
\top_ctrl_i|pc[1]~3\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|pc[1]~3_combout\ = (\m[0]~input_o\ & (\m[1]~input_o\ & ((!\top_ctrl_i|u_key|is_pressed~q\) # (!\key_sel~input_o\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0000100010001000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \m[0]~input_o\,
	datab => \m[1]~input_o\,
	datac => \key_sel~input_o\,
	datad => \top_ctrl_i|u_key|is_pressed~q\,
	combout => \top_ctrl_i|pc[1]~3_combout\);

-- Location: LCCOMB_X42_Y29_N8
\top_ctrl_i|pc[1]~4\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|pc[1]~4_combout\ = (!\top_ctrl_i|pc[1]~3_combout\ & (((\top_ctrl_i|cnt\(0) & \top_ctrl_i|Equal0~4_combout\)) # (!\top_ctrl_i|pc[6]~0_combout\)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0000000011010101",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|pc[6]~0_combout\,
	datab => \top_ctrl_i|cnt\(0),
	datac => \top_ctrl_i|Equal0~4_combout\,
	datad => \top_ctrl_i|pc[1]~3_combout\,
	combout => \top_ctrl_i|pc[1]~4_combout\);

-- Location: FF_X42_Y29_N7
\top_ctrl_i|pc[0]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \clk~inputclkctrl_outclk\,
	d => \top_ctrl_i|Add1~31_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \top_ctrl_i|pc[1]~4_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \top_ctrl_i|pc\(0));

-- Location: LCCOMB_X41_Y29_N2
\top_ctrl_i|Add2~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add2~2_combout\ = (\top_ctrl_i|pc\(1) & (\top_ctrl_i|Add2~1\ & VCC)) # (!\top_ctrl_i|pc\(1) & (!\top_ctrl_i|Add2~1\))
-- \top_ctrl_i|Add2~3\ = CARRY((!\top_ctrl_i|pc\(1) & !\top_ctrl_i|Add2~1\))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1010010100000101",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|pc\(1),
	datad => VCC,
	cin => \top_ctrl_i|Add2~1\,
	combout => \top_ctrl_i|Add2~2_combout\,
	cout => \top_ctrl_i|Add2~3\);

-- Location: LCCOMB_X41_Y29_N18
\top_ctrl_i|Add1~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add1~2_combout\ = (\top_ctrl_i|pc\(1) & (!\top_ctrl_i|Add1~1\)) # (!\top_ctrl_i|pc\(1) & ((\top_ctrl_i|Add1~1\) # (GND)))
-- \top_ctrl_i|Add1~3\ = CARRY((!\top_ctrl_i|Add1~1\) # (!\top_ctrl_i|pc\(1)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0101101001011111",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|pc\(1),
	datad => VCC,
	cin => \top_ctrl_i|Add1~1\,
	combout => \top_ctrl_i|Add1~2_combout\,
	cout => \top_ctrl_i|Add1~3\);

-- Location: LCCOMB_X43_Y29_N24
\top_ctrl_i|Add1~28\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add1~28_combout\ = (\m[0]~input_o\ & ((\m[1]~input_o\ & ((\top_ctrl_i|u_key|val\(1)))) # (!\m[1]~input_o\ & (\top_ctrl_i|Add1~2_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1010100000100000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \m[0]~input_o\,
	datab => \m[1]~input_o\,
	datac => \top_ctrl_i|Add1~2_combout\,
	datad => \top_ctrl_i|u_key|val\(1),
	combout => \top_ctrl_i|Add1~28_combout\);

-- Location: LCCOMB_X42_Y29_N4
\top_ctrl_i|Add1~29\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add1~29_combout\ = (\top_ctrl_i|Add1~28_combout\) # ((\top_ctrl_i|Add2~2_combout\ & (!\m[0]~input_o\ & \m[1]~input_o\)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111111100100000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|Add2~2_combout\,
	datab => \m[0]~input_o\,
	datac => \m[1]~input_o\,
	datad => \top_ctrl_i|Add1~28_combout\,
	combout => \top_ctrl_i|Add1~29_combout\);

-- Location: FF_X42_Y29_N5
\top_ctrl_i|pc[1]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \clk~inputclkctrl_outclk\,
	d => \top_ctrl_i|Add1~29_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \top_ctrl_i|pc[1]~4_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \top_ctrl_i|pc\(1));

-- Location: LCCOMB_X41_Y29_N4
\top_ctrl_i|Add2~4\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add2~4_combout\ = (\top_ctrl_i|pc\(2) & ((GND) # (!\top_ctrl_i|Add2~3\))) # (!\top_ctrl_i|pc\(2) & (\top_ctrl_i|Add2~3\ $ (GND)))
-- \top_ctrl_i|Add2~5\ = CARRY((\top_ctrl_i|pc\(2)) # (!\top_ctrl_i|Add2~3\))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0011110011001111",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	datab => \top_ctrl_i|pc\(2),
	datad => VCC,
	cin => \top_ctrl_i|Add2~3\,
	combout => \top_ctrl_i|Add2~4_combout\,
	cout => \top_ctrl_i|Add2~5\);

-- Location: LCCOMB_X41_Y29_N20
\top_ctrl_i|Add1~4\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add1~4_combout\ = (\top_ctrl_i|pc\(2) & (\top_ctrl_i|Add1~3\ $ (GND))) # (!\top_ctrl_i|pc\(2) & (!\top_ctrl_i|Add1~3\ & VCC))
-- \top_ctrl_i|Add1~5\ = CARRY((\top_ctrl_i|pc\(2) & !\top_ctrl_i|Add1~3\))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1100001100001100",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	datab => \top_ctrl_i|pc\(2),
	datad => VCC,
	cin => \top_ctrl_i|Add1~3\,
	combout => \top_ctrl_i|Add1~4_combout\,
	cout => \top_ctrl_i|Add1~5\);

-- Location: LCCOMB_X43_Y29_N18
\top_ctrl_i|Add1~26\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add1~26_combout\ = (\m[0]~input_o\ & ((\m[1]~input_o\ & ((\top_ctrl_i|u_key|val\(2)))) # (!\m[1]~input_o\ & (\top_ctrl_i|Add1~4_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1010100000100000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \m[0]~input_o\,
	datab => \m[1]~input_o\,
	datac => \top_ctrl_i|Add1~4_combout\,
	datad => \top_ctrl_i|u_key|val\(2),
	combout => \top_ctrl_i|Add1~26_combout\);

-- Location: LCCOMB_X42_Y29_N14
\top_ctrl_i|Add1~27\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add1~27_combout\ = (\top_ctrl_i|Add1~26_combout\) # ((!\m[0]~input_o\ & (\m[1]~input_o\ & \top_ctrl_i|Add2~4_combout\)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111111101000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \m[0]~input_o\,
	datab => \m[1]~input_o\,
	datac => \top_ctrl_i|Add2~4_combout\,
	datad => \top_ctrl_i|Add1~26_combout\,
	combout => \top_ctrl_i|Add1~27_combout\);

-- Location: FF_X42_Y29_N15
\top_ctrl_i|pc[2]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \clk~inputclkctrl_outclk\,
	d => \top_ctrl_i|Add1~27_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \top_ctrl_i|pc[1]~4_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \top_ctrl_i|pc\(2));

-- Location: LCCOMB_X41_Y29_N6
\top_ctrl_i|Add2~6\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add2~6_combout\ = (\top_ctrl_i|pc\(3) & (\top_ctrl_i|Add2~5\ & VCC)) # (!\top_ctrl_i|pc\(3) & (!\top_ctrl_i|Add2~5\))
-- \top_ctrl_i|Add2~7\ = CARRY((!\top_ctrl_i|pc\(3) & !\top_ctrl_i|Add2~5\))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1100001100000011",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	datab => \top_ctrl_i|pc\(3),
	datad => VCC,
	cin => \top_ctrl_i|Add2~5\,
	combout => \top_ctrl_i|Add2~6_combout\,
	cout => \top_ctrl_i|Add2~7\);

-- Location: LCCOMB_X41_Y29_N22
\top_ctrl_i|Add1~6\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add1~6_combout\ = (\top_ctrl_i|pc\(3) & (!\top_ctrl_i|Add1~5\)) # (!\top_ctrl_i|pc\(3) & ((\top_ctrl_i|Add1~5\) # (GND)))
-- \top_ctrl_i|Add1~7\ = CARRY((!\top_ctrl_i|Add1~5\) # (!\top_ctrl_i|pc\(3)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0011110000111111",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	datab => \top_ctrl_i|pc\(3),
	datad => VCC,
	cin => \top_ctrl_i|Add1~5\,
	combout => \top_ctrl_i|Add1~6_combout\,
	cout => \top_ctrl_i|Add1~7\);

-- Location: LCCOMB_X42_Y29_N10
\top_ctrl_i|Add1~24\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add1~24_combout\ = (\m[0]~input_o\ & ((\m[1]~input_o\ & (\top_ctrl_i|u_key|val\(3))) # (!\m[1]~input_o\ & ((\top_ctrl_i|Add1~6_combout\)))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1010001010000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \m[0]~input_o\,
	datab => \m[1]~input_o\,
	datac => \top_ctrl_i|u_key|val\(3),
	datad => \top_ctrl_i|Add1~6_combout\,
	combout => \top_ctrl_i|Add1~24_combout\);

-- Location: LCCOMB_X42_Y29_N12
\top_ctrl_i|Add1~25\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add1~25_combout\ = (\top_ctrl_i|Add1~24_combout\) # ((!\m[0]~input_o\ & (\m[1]~input_o\ & \top_ctrl_i|Add2~6_combout\)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111111101000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \m[0]~input_o\,
	datab => \m[1]~input_o\,
	datac => \top_ctrl_i|Add2~6_combout\,
	datad => \top_ctrl_i|Add1~24_combout\,
	combout => \top_ctrl_i|Add1~25_combout\);

-- Location: FF_X42_Y29_N13
\top_ctrl_i|pc[3]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \clk~inputclkctrl_outclk\,
	d => \top_ctrl_i|Add1~25_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \top_ctrl_i|pc[1]~4_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \top_ctrl_i|pc\(3));

-- Location: LCCOMB_X41_Y29_N24
\top_ctrl_i|Add1~8\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add1~8_combout\ = (\top_ctrl_i|pc\(4) & (\top_ctrl_i|Add1~7\ $ (GND))) # (!\top_ctrl_i|pc\(4) & (!\top_ctrl_i|Add1~7\ & VCC))
-- \top_ctrl_i|Add1~9\ = CARRY((\top_ctrl_i|pc\(4) & !\top_ctrl_i|Add1~7\))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1010010100001010",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|pc\(4),
	datad => VCC,
	cin => \top_ctrl_i|Add1~7\,
	combout => \top_ctrl_i|Add1~8_combout\,
	cout => \top_ctrl_i|Add1~9\);

-- Location: LCCOMB_X41_Y29_N8
\top_ctrl_i|Add2~8\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add2~8_combout\ = (\top_ctrl_i|pc\(4) & ((GND) # (!\top_ctrl_i|Add2~7\))) # (!\top_ctrl_i|pc\(4) & (\top_ctrl_i|Add2~7\ $ (GND)))
-- \top_ctrl_i|Add2~9\ = CARRY((\top_ctrl_i|pc\(4)) # (!\top_ctrl_i|Add2~7\))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0101101010101111",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|pc\(4),
	datad => VCC,
	cin => \top_ctrl_i|Add2~7\,
	combout => \top_ctrl_i|Add2~8_combout\,
	cout => \top_ctrl_i|Add2~9\);

-- Location: LCCOMB_X42_Y29_N28
\top_ctrl_i|Add1~22\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add1~22_combout\ = (\m[0]~input_o\ & (\top_ctrl_i|Add1~8_combout\ & (!\m[1]~input_o\))) # (!\m[0]~input_o\ & (((\m[1]~input_o\ & \top_ctrl_i|Add2~8_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0101100000001000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \m[0]~input_o\,
	datab => \top_ctrl_i|Add1~8_combout\,
	datac => \m[1]~input_o\,
	datad => \top_ctrl_i|Add2~8_combout\,
	combout => \top_ctrl_i|Add1~22_combout\);

-- Location: LCCOMB_X42_Y29_N30
\top_ctrl_i|Add1~23\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add1~23_combout\ = (\top_ctrl_i|Add1~22_combout\) # ((\m[0]~input_o\ & (\m[1]~input_o\ & \top_ctrl_i|u_key|val\(0))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111111110000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \m[0]~input_o\,
	datab => \m[1]~input_o\,
	datac => \top_ctrl_i|u_key|val\(0),
	datad => \top_ctrl_i|Add1~22_combout\,
	combout => \top_ctrl_i|Add1~23_combout\);

-- Location: LCCOMB_X43_Y29_N22
\top_ctrl_i|pc[6]~1\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|pc[6]~1_combout\ = (\m[0]~input_o\ & (\m[1]~input_o\ & ((\key_sel~input_o\) # (!\top_ctrl_i|u_key|is_pressed~q\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1000000010001000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \m[0]~input_o\,
	datab => \m[1]~input_o\,
	datac => \key_sel~input_o\,
	datad => \top_ctrl_i|u_key|is_pressed~q\,
	combout => \top_ctrl_i|pc[6]~1_combout\);

-- Location: LCCOMB_X42_Y29_N2
\top_ctrl_i|pc[6]~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|pc[6]~2_combout\ = (!\top_ctrl_i|pc[6]~1_combout\ & (((\top_ctrl_i|cnt\(0) & \top_ctrl_i|Equal0~4_combout\)) # (!\top_ctrl_i|pc[6]~0_combout\)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0000000011010101",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|pc[6]~0_combout\,
	datab => \top_ctrl_i|cnt\(0),
	datac => \top_ctrl_i|Equal0~4_combout\,
	datad => \top_ctrl_i|pc[6]~1_combout\,
	combout => \top_ctrl_i|pc[6]~2_combout\);

-- Location: FF_X42_Y29_N31
\top_ctrl_i|pc[4]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \clk~inputclkctrl_outclk\,
	d => \top_ctrl_i|Add1~23_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \top_ctrl_i|pc[6]~2_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \top_ctrl_i|pc\(4));

-- Location: LCCOMB_X41_Y29_N26
\top_ctrl_i|Add1~10\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add1~10_combout\ = (\top_ctrl_i|pc\(5) & (!\top_ctrl_i|Add1~9\)) # (!\top_ctrl_i|pc\(5) & ((\top_ctrl_i|Add1~9\) # (GND)))
-- \top_ctrl_i|Add1~11\ = CARRY((!\top_ctrl_i|Add1~9\) # (!\top_ctrl_i|pc\(5)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0101101001011111",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|pc\(5),
	datad => VCC,
	cin => \top_ctrl_i|Add1~9\,
	combout => \top_ctrl_i|Add1~10_combout\,
	cout => \top_ctrl_i|Add1~11\);

-- Location: LCCOMB_X41_Y29_N10
\top_ctrl_i|Add2~10\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add2~10_combout\ = (\top_ctrl_i|pc\(5) & (\top_ctrl_i|Add2~9\ & VCC)) # (!\top_ctrl_i|pc\(5) & (!\top_ctrl_i|Add2~9\))
-- \top_ctrl_i|Add2~11\ = CARRY((!\top_ctrl_i|pc\(5) & !\top_ctrl_i|Add2~9\))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1010010100000101",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|pc\(5),
	datad => VCC,
	cin => \top_ctrl_i|Add2~9\,
	combout => \top_ctrl_i|Add2~10_combout\,
	cout => \top_ctrl_i|Add2~11\);

-- Location: LCCOMB_X42_Y29_N18
\top_ctrl_i|Add1~20\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add1~20_combout\ = (\m[0]~input_o\ & (!\m[1]~input_o\ & (\top_ctrl_i|Add1~10_combout\))) # (!\m[0]~input_o\ & (\m[1]~input_o\ & ((\top_ctrl_i|Add2~10_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0110010000100000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \m[0]~input_o\,
	datab => \m[1]~input_o\,
	datac => \top_ctrl_i|Add1~10_combout\,
	datad => \top_ctrl_i|Add2~10_combout\,
	combout => \top_ctrl_i|Add1~20_combout\);

-- Location: LCCOMB_X42_Y29_N20
\top_ctrl_i|Add1~21\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add1~21_combout\ = (\top_ctrl_i|Add1~20_combout\) # ((\m[0]~input_o\ & (\m[1]~input_o\ & \top_ctrl_i|u_key|val\(1))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111111110000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \m[0]~input_o\,
	datab => \m[1]~input_o\,
	datac => \top_ctrl_i|u_key|val\(1),
	datad => \top_ctrl_i|Add1~20_combout\,
	combout => \top_ctrl_i|Add1~21_combout\);

-- Location: FF_X42_Y29_N21
\top_ctrl_i|pc[5]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \clk~inputclkctrl_outclk\,
	d => \top_ctrl_i|Add1~21_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \top_ctrl_i|pc[6]~2_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \top_ctrl_i|pc\(5));

-- Location: LCCOMB_X41_Y29_N28
\top_ctrl_i|Add1~12\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add1~12_combout\ = (\top_ctrl_i|pc\(6) & (\top_ctrl_i|Add1~11\ $ (GND))) # (!\top_ctrl_i|pc\(6) & (!\top_ctrl_i|Add1~11\ & VCC))
-- \top_ctrl_i|Add1~13\ = CARRY((\top_ctrl_i|pc\(6) & !\top_ctrl_i|Add1~11\))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1100001100001100",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	datab => \top_ctrl_i|pc\(6),
	datad => VCC,
	cin => \top_ctrl_i|Add1~11\,
	combout => \top_ctrl_i|Add1~12_combout\,
	cout => \top_ctrl_i|Add1~13\);

-- Location: LCCOMB_X41_Y29_N12
\top_ctrl_i|Add2~12\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add2~12_combout\ = (\top_ctrl_i|pc\(6) & ((GND) # (!\top_ctrl_i|Add2~11\))) # (!\top_ctrl_i|pc\(6) & (\top_ctrl_i|Add2~11\ $ (GND)))
-- \top_ctrl_i|Add2~13\ = CARRY((\top_ctrl_i|pc\(6)) # (!\top_ctrl_i|Add2~11\))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0011110011001111",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	datab => \top_ctrl_i|pc\(6),
	datad => VCC,
	cin => \top_ctrl_i|Add2~11\,
	combout => \top_ctrl_i|Add2~12_combout\,
	cout => \top_ctrl_i|Add2~13\);

-- Location: LCCOMB_X42_Y29_N16
\top_ctrl_i|Add1~18\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add1~18_combout\ = (\m[0]~input_o\ & (\top_ctrl_i|Add1~12_combout\ & (!\m[1]~input_o\))) # (!\m[0]~input_o\ & (((\m[1]~input_o\ & \top_ctrl_i|Add2~12_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0101100000001000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \m[0]~input_o\,
	datab => \top_ctrl_i|Add1~12_combout\,
	datac => \m[1]~input_o\,
	datad => \top_ctrl_i|Add2~12_combout\,
	combout => \top_ctrl_i|Add1~18_combout\);

-- Location: LCCOMB_X42_Y29_N22
\top_ctrl_i|Add1~19\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add1~19_combout\ = (\top_ctrl_i|Add1~18_combout\) # ((\m[0]~input_o\ & (\top_ctrl_i|u_key|val\(2) & \m[1]~input_o\)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111111110000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \m[0]~input_o\,
	datab => \top_ctrl_i|u_key|val\(2),
	datac => \m[1]~input_o\,
	datad => \top_ctrl_i|Add1~18_combout\,
	combout => \top_ctrl_i|Add1~19_combout\);

-- Location: FF_X42_Y29_N23
\top_ctrl_i|pc[6]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \clk~inputclkctrl_outclk\,
	d => \top_ctrl_i|Add1~19_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \top_ctrl_i|pc[6]~2_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \top_ctrl_i|pc\(6));

-- Location: LCCOMB_X41_Y29_N30
\top_ctrl_i|Add1~14\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add1~14_combout\ = \top_ctrl_i|Add1~13\ $ (\top_ctrl_i|pc\(7))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0000111111110000",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	datad => \top_ctrl_i|pc\(7),
	cin => \top_ctrl_i|Add1~13\,
	combout => \top_ctrl_i|Add1~14_combout\);

-- Location: LCCOMB_X41_Y29_N14
\top_ctrl_i|Add2~14\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add2~14_combout\ = \top_ctrl_i|Add2~13\ $ (!\top_ctrl_i|pc\(7))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111000000001111",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	datad => \top_ctrl_i|pc\(7),
	cin => \top_ctrl_i|Add2~13\,
	combout => \top_ctrl_i|Add2~14_combout\);

-- Location: LCCOMB_X42_Y29_N0
\top_ctrl_i|Add1~16\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add1~16_combout\ = (\m[0]~input_o\ & (\top_ctrl_i|Add1~14_combout\ & (!\m[1]~input_o\))) # (!\m[0]~input_o\ & (((\m[1]~input_o\ & \top_ctrl_i|Add2~14_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0101100000001000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \m[0]~input_o\,
	datab => \top_ctrl_i|Add1~14_combout\,
	datac => \m[1]~input_o\,
	datad => \top_ctrl_i|Add2~14_combout\,
	combout => \top_ctrl_i|Add1~16_combout\);

-- Location: LCCOMB_X42_Y29_N24
\top_ctrl_i|Add1~17\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|Add1~17_combout\ = (\top_ctrl_i|Add1~16_combout\) # ((\m[0]~input_o\ & (\m[1]~input_o\ & \top_ctrl_i|u_key|val\(3))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111111110000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \m[0]~input_o\,
	datab => \m[1]~input_o\,
	datac => \top_ctrl_i|u_key|val\(3),
	datad => \top_ctrl_i|Add1~16_combout\,
	combout => \top_ctrl_i|Add1~17_combout\);

-- Location: FF_X42_Y29_N25
\top_ctrl_i|pc[7]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \clk~inputclkctrl_outclk\,
	d => \top_ctrl_i|Add1~17_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \top_ctrl_i|pc[6]~2_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \top_ctrl_i|pc\(7));

-- Location: LCCOMB_X39_Y28_N4
\top_ctrl_i|u_display|sel[2]~1\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_display|sel[2]~1_combout\ = \top_ctrl_i|u_display|sel\(2) $ (((\top_ctrl_i|u_display|sel\(0) & \top_ctrl_i|u_display|sel\(1))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0101101011110000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|u_display|sel\(0),
	datac => \top_ctrl_i|u_display|sel\(2),
	datad => \top_ctrl_i|u_display|sel\(1),
	combout => \top_ctrl_i|u_display|sel[2]~1_combout\);

-- Location: FF_X39_Y28_N5
\top_ctrl_i|u_display|sel[2]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \top_ctrl_i|u_display|sel[2]~1_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \top_ctrl_i|u_display|sel\(2));

-- Location: LCCOMB_X39_Y28_N22
\top_ctrl_i|u_display|Mux3~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_display|Mux3~0_combout\ = (\top_ctrl_i|u_display|sel\(0) & ((\top_ctrl_i|pc\(0)))) # (!\top_ctrl_i|u_display|sel\(0) & (\top_ctrl_i|pc\(4)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111101001010000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|u_display|sel\(0),
	datac => \top_ctrl_i|pc\(4),
	datad => \top_ctrl_i|pc\(0),
	combout => \top_ctrl_i|u_display|Mux3~0_combout\);

-- Location: M9K_X40_Y28_N0
\rom_i|srom|rom_block|auto_generated|ram_block1a0\ : cycloneiii_ram_block
-- pragma translate_off
GENERIC MAP (
	mem_init2 => X"053B414D80530C14AE052641484051BC145A0511414300506C140604FC413DC04F1C13B204E74138804DCC135E04D24133404C7C130A04BD412E004B2C12B604",
	mem_init1 => X"A84128C049DC12620493412380488C120E047E411E40473C11BA046941190045EC116604544113C0449C1112043F410E80434C10BE042A41094041FC106A041541040040AC1016040040FEC03F5C0FC203EB40F9803E0C0F6E03D640F4403CBC0F1A03C140EF003B6C0EC603AC40E9C03A1C0E72039740E48038CC0E1E038240DF40377C0DCA036D40DA00362C0D76035840D4C034DC0D22034340CF80338C0CCE032E40CA40323C0C7A031940C50030EC0C26030440BFC02F9C0BD202EF40BA802E4C0B7E02DA40B5402CFC0B2A02C540B0002BAC0AD602B040AAC02A5C0A82029B40A580290C0A2E028640A04027BC09DA0271409B00266C0986025C4095C0",
	mem_init0 => X"251C0932024740908023CC08DE0232408B40227C088A021D408600212C083602084080C01FDC07E201F3407B801E8C078E01DE4076401D3C073A01C94071001BEC06E601B4406BC01A9C0692019F406680194C063E018A40614017FC05EA0175405C0016AC059601604056C0155C0542014B405180140C04EE0136404C4012BC049A0121404700116C0446010C4041C0101C03F200F7403C800ECC039E00E24037400D7C034A00CD4032000C2C02F600B8402CC00ADC02A200A3402780098C024E008E402240083C01FA0079401D0006EC01A600644017C0059C0152004F401280044C00FE003A400D4002FC00AA002540080001AC005600104002C0005C0002",
	data_interleave_offset_in_bits => 1,
	data_interleave_width_in_bits => 1,
	init_file => "mem.mif",
	init_file_layout => "port_a",
	logical_ram_name => "lpm_rom:rom_i|altrom:srom|altsyncram:rom_block|altsyncram_luv:auto_generated|ALTSYNCRAM",
	operation_mode => "rom",
	port_a_address_clear => "none",
	port_a_address_width => 8,
	port_a_byte_enable_clock => "none",
	port_a_data_out_clear => "none",
	port_a_data_out_clock => "none",
	port_a_data_width => 18,
	port_a_first_address => 0,
	port_a_first_bit_number => 0,
	port_a_last_address => 255,
	port_a_logical_ram_depth => 256,
	port_a_logical_ram_width => 16,
	port_a_read_during_write_mode => "new_data_with_nbe_read",
	port_a_write_enable_clock => "none",
	port_b_address_width => 8,
	port_b_data_width => 18,
	ram_block_type => "M9K")
-- pragma translate_on
PORT MAP (
	portare => VCC,
	clk0 => \clk~inputclkctrl_outclk\,
	portaaddr => \rom_i|srom|rom_block|auto_generated|ram_block1a0_PORTAADDR_bus\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	portadataout => \rom_i|srom|rom_block|auto_generated|ram_block1a0_PORTADATAOUT_bus\);

-- Location: LCCOMB_X39_Y28_N16
\top_ctrl_i|u_display|Mux3~1\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_display|Mux3~1_combout\ = (\top_ctrl_i|u_display|sel\(1) & (((\top_ctrl_i|u_display|sel\(0)) # (\rom_i|srom|rom_block|auto_generated|q_a\(4))))) # (!\top_ctrl_i|u_display|sel\(1) & (\rom_i|srom|rom_block|auto_generated|q_a\(12) & 
-- (!\top_ctrl_i|u_display|sel\(0))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1100111011000010",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \rom_i|srom|rom_block|auto_generated|q_a\(12),
	datab => \top_ctrl_i|u_display|sel\(1),
	datac => \top_ctrl_i|u_display|sel\(0),
	datad => \rom_i|srom|rom_block|auto_generated|q_a\(4),
	combout => \top_ctrl_i|u_display|Mux3~1_combout\);

-- Location: LCCOMB_X39_Y28_N30
\top_ctrl_i|u_display|Mux3~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_display|Mux3~2_combout\ = (\top_ctrl_i|u_display|Mux3~1_combout\ & ((\rom_i|srom|rom_block|auto_generated|q_a\(0)) # ((!\top_ctrl_i|u_display|sel\(0))))) # (!\top_ctrl_i|u_display|Mux3~1_combout\ & (((\top_ctrl_i|u_display|sel\(0) & 
-- \rom_i|srom|rom_block|auto_generated|q_a\(8)))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1011110010001100",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \rom_i|srom|rom_block|auto_generated|q_a\(0),
	datab => \top_ctrl_i|u_display|Mux3~1_combout\,
	datac => \top_ctrl_i|u_display|sel\(0),
	datad => \rom_i|srom|rom_block|auto_generated|q_a\(8),
	combout => \top_ctrl_i|u_display|Mux3~2_combout\);

-- Location: LCCOMB_X39_Y28_N6
\top_ctrl_i|u_display|Mux3~3\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_display|Mux3~3_combout\ = (\top_ctrl_i|u_display|sel\(2) & (\top_ctrl_i|u_display|Mux3~0_combout\ & ((\top_ctrl_i|u_display|sel\(1))))) # (!\top_ctrl_i|u_display|sel\(2) & (((\top_ctrl_i|u_display|Mux3~2_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1011100000110000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|u_display|Mux3~0_combout\,
	datab => \top_ctrl_i|u_display|sel\(2),
	datac => \top_ctrl_i|u_display|Mux3~2_combout\,
	datad => \top_ctrl_i|u_display|sel\(1),
	combout => \top_ctrl_i|u_display|Mux3~3_combout\);

-- Location: LCCOMB_X39_Y28_N26
\top_ctrl_i|u_display|Mux0~1\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_display|Mux0~1_combout\ = (\top_ctrl_i|u_display|sel\(0) & (((\top_ctrl_i|u_display|sel\(1))))) # (!\top_ctrl_i|u_display|sel\(0) & ((\top_ctrl_i|u_display|sel\(1) & ((\rom_i|srom|rom_block|auto_generated|q_a\(7)))) # 
-- (!\top_ctrl_i|u_display|sel\(1) & (\rom_i|srom|rom_block|auto_generated|q_a\(15)))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111101001000100",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|u_display|sel\(0),
	datab => \rom_i|srom|rom_block|auto_generated|q_a\(15),
	datac => \rom_i|srom|rom_block|auto_generated|q_a\(7),
	datad => \top_ctrl_i|u_display|sel\(1),
	combout => \top_ctrl_i|u_display|Mux0~1_combout\);

-- Location: LCCOMB_X39_Y28_N12
\top_ctrl_i|u_display|Mux0~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_display|Mux0~2_combout\ = (\top_ctrl_i|u_display|Mux0~1_combout\ & ((\rom_i|srom|rom_block|auto_generated|q_a\(3)) # ((!\top_ctrl_i|u_display|sel\(0))))) # (!\top_ctrl_i|u_display|Mux0~1_combout\ & (((\top_ctrl_i|u_display|sel\(0) & 
-- \rom_i|srom|rom_block|auto_generated|q_a\(11)))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1101101010001010",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|u_display|Mux0~1_combout\,
	datab => \rom_i|srom|rom_block|auto_generated|q_a\(3),
	datac => \top_ctrl_i|u_display|sel\(0),
	datad => \rom_i|srom|rom_block|auto_generated|q_a\(11),
	combout => \top_ctrl_i|u_display|Mux0~2_combout\);

-- Location: LCCOMB_X39_Y28_N24
\top_ctrl_i|u_display|Mux0~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_display|Mux0~0_combout\ = (\top_ctrl_i|u_display|sel\(0) & (\top_ctrl_i|pc\(3))) # (!\top_ctrl_i|u_display|sel\(0) & ((\top_ctrl_i|pc\(7))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1010110010101100",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|pc\(3),
	datab => \top_ctrl_i|pc\(7),
	datac => \top_ctrl_i|u_display|sel\(0),
	combout => \top_ctrl_i|u_display|Mux0~0_combout\);

-- Location: LCCOMB_X39_Y28_N2
\top_ctrl_i|u_display|Mux0~3\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_display|Mux0~3_combout\ = (\top_ctrl_i|u_display|sel\(2) & (((\top_ctrl_i|u_display|Mux0~0_combout\ & \top_ctrl_i|u_display|sel\(1))))) # (!\top_ctrl_i|u_display|sel\(2) & (\top_ctrl_i|u_display|Mux0~2_combout\))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1100101000001010",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|u_display|Mux0~2_combout\,
	datab => \top_ctrl_i|u_display|Mux0~0_combout\,
	datac => \top_ctrl_i|u_display|sel\(2),
	datad => \top_ctrl_i|u_display|sel\(1),
	combout => \top_ctrl_i|u_display|Mux0~3_combout\);

-- Location: LCCOMB_X39_Y28_N10
\top_ctrl_i|u_display|Mux2~1\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_display|Mux2~1_combout\ = (\top_ctrl_i|u_display|sel\(1) & ((\rom_i|srom|rom_block|auto_generated|q_a\(5)) # ((\top_ctrl_i|u_display|sel\(0))))) # (!\top_ctrl_i|u_display|sel\(1) & (((!\top_ctrl_i|u_display|sel\(0) & 
-- \rom_i|srom|rom_block|auto_generated|q_a\(13)))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1010110110101000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|u_display|sel\(1),
	datab => \rom_i|srom|rom_block|auto_generated|q_a\(5),
	datac => \top_ctrl_i|u_display|sel\(0),
	datad => \rom_i|srom|rom_block|auto_generated|q_a\(13),
	combout => \top_ctrl_i|u_display|Mux2~1_combout\);

-- Location: LCCOMB_X39_Y28_N8
\top_ctrl_i|u_display|Mux2~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_display|Mux2~2_combout\ = (\top_ctrl_i|u_display|sel\(0) & ((\top_ctrl_i|u_display|Mux2~1_combout\ & (\rom_i|srom|rom_block|auto_generated|q_a\(1))) # (!\top_ctrl_i|u_display|Mux2~1_combout\ & 
-- ((\rom_i|srom|rom_block|auto_generated|q_a\(9)))))) # (!\top_ctrl_i|u_display|sel\(0) & (((\top_ctrl_i|u_display|Mux2~1_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1101110110100000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|u_display|sel\(0),
	datab => \rom_i|srom|rom_block|auto_generated|q_a\(1),
	datac => \rom_i|srom|rom_block|auto_generated|q_a\(9),
	datad => \top_ctrl_i|u_display|Mux2~1_combout\,
	combout => \top_ctrl_i|u_display|Mux2~2_combout\);

-- Location: LCCOMB_X39_Y28_N0
\top_ctrl_i|u_display|Mux2~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_display|Mux2~0_combout\ = (\top_ctrl_i|u_display|sel\(0) & ((\top_ctrl_i|pc\(1)))) # (!\top_ctrl_i|u_display|sel\(0) & (\top_ctrl_i|pc\(5)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111110000001100",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datab => \top_ctrl_i|pc\(5),
	datac => \top_ctrl_i|u_display|sel\(0),
	datad => \top_ctrl_i|pc\(1),
	combout => \top_ctrl_i|u_display|Mux2~0_combout\);

-- Location: LCCOMB_X39_Y28_N18
\top_ctrl_i|u_display|Mux2~3\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_display|Mux2~3_combout\ = (\top_ctrl_i|u_display|sel\(2) & (((\top_ctrl_i|u_display|Mux2~0_combout\ & \top_ctrl_i|u_display|sel\(1))))) # (!\top_ctrl_i|u_display|sel\(2) & (\top_ctrl_i|u_display|Mux2~2_combout\))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1100101000001010",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|u_display|Mux2~2_combout\,
	datab => \top_ctrl_i|u_display|Mux2~0_combout\,
	datac => \top_ctrl_i|u_display|sel\(2),
	datad => \top_ctrl_i|u_display|sel\(1),
	combout => \top_ctrl_i|u_display|Mux2~3_combout\);

-- Location: LCCOMB_X41_Y28_N2
\top_ctrl_i|u_display|Mux1~1\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_display|Mux1~1_combout\ = (\top_ctrl_i|u_display|sel\(1) & (((\top_ctrl_i|u_display|sel\(0))))) # (!\top_ctrl_i|u_display|sel\(1) & ((\top_ctrl_i|u_display|sel\(0) & ((\rom_i|srom|rom_block|auto_generated|q_a\(10)))) # 
-- (!\top_ctrl_i|u_display|sel\(0) & (\rom_i|srom|rom_block|auto_generated|q_a\(14)))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111110000100010",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \rom_i|srom|rom_block|auto_generated|q_a\(14),
	datab => \top_ctrl_i|u_display|sel\(1),
	datac => \rom_i|srom|rom_block|auto_generated|q_a\(10),
	datad => \top_ctrl_i|u_display|sel\(0),
	combout => \top_ctrl_i|u_display|Mux1~1_combout\);

-- Location: LCCOMB_X41_Y28_N24
\top_ctrl_i|u_display|Mux1~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_display|Mux1~2_combout\ = (\top_ctrl_i|u_display|sel\(1) & ((\top_ctrl_i|u_display|Mux1~1_combout\ & (\rom_i|srom|rom_block|auto_generated|q_a\(2))) # (!\top_ctrl_i|u_display|Mux1~1_combout\ & 
-- ((\rom_i|srom|rom_block|auto_generated|q_a\(6)))))) # (!\top_ctrl_i|u_display|sel\(1) & (((\top_ctrl_i|u_display|Mux1~1_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1011101111000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \rom_i|srom|rom_block|auto_generated|q_a\(2),
	datab => \top_ctrl_i|u_display|sel\(1),
	datac => \rom_i|srom|rom_block|auto_generated|q_a\(6),
	datad => \top_ctrl_i|u_display|Mux1~1_combout\,
	combout => \top_ctrl_i|u_display|Mux1~2_combout\);

-- Location: LCCOMB_X42_Y32_N16
\top_ctrl_i|u_display|Mux1~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_display|Mux1~0_combout\ = (\top_ctrl_i|u_display|sel\(0) & (\top_ctrl_i|pc\(2))) # (!\top_ctrl_i|u_display|sel\(0) & ((\top_ctrl_i|pc\(6))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1011101110001000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|pc\(2),
	datab => \top_ctrl_i|u_display|sel\(0),
	datad => \top_ctrl_i|pc\(6),
	combout => \top_ctrl_i|u_display|Mux1~0_combout\);

-- Location: LCCOMB_X42_Y32_N10
\top_ctrl_i|u_display|Mux1~3\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_display|Mux1~3_combout\ = (\top_ctrl_i|u_display|sel\(2) & (\top_ctrl_i|u_display|sel\(1) & ((\top_ctrl_i|u_display|Mux1~0_combout\)))) # (!\top_ctrl_i|u_display|sel\(2) & (((\top_ctrl_i|u_display|Mux1~2_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1101100001010000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|u_display|sel\(2),
	datab => \top_ctrl_i|u_display|sel\(1),
	datac => \top_ctrl_i|u_display|Mux1~2_combout\,
	datad => \top_ctrl_i|u_display|Mux1~0_combout\,
	combout => \top_ctrl_i|u_display|Mux1~3_combout\);

-- Location: LCCOMB_X42_Y32_N0
\top_ctrl_i|u_display|WideOr0~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_display|WideOr0~0_combout\ = (\top_ctrl_i|u_display|Mux3~3_combout\ & ((\top_ctrl_i|u_display|Mux0~3_combout\) # (\top_ctrl_i|u_display|Mux2~3_combout\ $ (\top_ctrl_i|u_display|Mux1~3_combout\)))) # (!\top_ctrl_i|u_display|Mux3~3_combout\ & 
-- ((\top_ctrl_i|u_display|Mux2~3_combout\) # (\top_ctrl_i|u_display|Mux0~3_combout\ $ (\top_ctrl_i|u_display|Mux1~3_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1101101111111100",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|u_display|Mux3~3_combout\,
	datab => \top_ctrl_i|u_display|Mux0~3_combout\,
	datac => \top_ctrl_i|u_display|Mux2~3_combout\,
	datad => \top_ctrl_i|u_display|Mux1~3_combout\,
	combout => \top_ctrl_i|u_display|WideOr0~0_combout\);

-- Location: LCCOMB_X42_Y32_N18
\top_ctrl_i|u_display|seg[6]~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_display|seg[6]~0_combout\ = (\top_ctrl_i|u_display|WideOr0~0_combout\ & ((\top_ctrl_i|u_display|sel\(1)) # (!\top_ctrl_i|u_display|sel\(2))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111010100000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|u_display|sel\(2),
	datac => \top_ctrl_i|u_display|sel\(1),
	datad => \top_ctrl_i|u_display|WideOr0~0_combout\,
	combout => \top_ctrl_i|u_display|seg[6]~0_combout\);

-- Location: LCCOMB_X42_Y32_N8
\top_ctrl_i|u_display|WideOr1~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_display|WideOr1~0_combout\ = (\top_ctrl_i|u_display|Mux3~3_combout\ & (\top_ctrl_i|u_display|Mux0~3_combout\ $ (((\top_ctrl_i|u_display|Mux2~3_combout\) # (!\top_ctrl_i|u_display|Mux1~3_combout\))))) # (!\top_ctrl_i|u_display|Mux3~3_combout\ 
-- & (!\top_ctrl_i|u_display|Mux0~3_combout\ & (\top_ctrl_i|u_display|Mux2~3_combout\ & !\top_ctrl_i|u_display|Mux1~3_combout\)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0010100000110010",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|u_display|Mux3~3_combout\,
	datab => \top_ctrl_i|u_display|Mux0~3_combout\,
	datac => \top_ctrl_i|u_display|Mux2~3_combout\,
	datad => \top_ctrl_i|u_display|Mux1~3_combout\,
	combout => \top_ctrl_i|u_display|WideOr1~0_combout\);

-- Location: LCCOMB_X42_Y32_N6
\top_ctrl_i|u_display|seg[5]~1\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_display|seg[5]~1_combout\ = (\top_ctrl_i|u_display|WideOr1~0_combout\) # ((!\top_ctrl_i|u_display|sel\(1) & \top_ctrl_i|u_display|sel\(2)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111001111110000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datab => \top_ctrl_i|u_display|sel\(1),
	datac => \top_ctrl_i|u_display|WideOr1~0_combout\,
	datad => \top_ctrl_i|u_display|sel\(2),
	combout => \top_ctrl_i|u_display|seg[5]~1_combout\);

-- Location: LCCOMB_X42_Y32_N4
\top_ctrl_i|u_display|WideOr2~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_display|WideOr2~0_combout\ = (\top_ctrl_i|u_display|Mux2~3_combout\ & (\top_ctrl_i|u_display|Mux3~3_combout\ & (!\top_ctrl_i|u_display|Mux0~3_combout\))) # (!\top_ctrl_i|u_display|Mux2~3_combout\ & ((\top_ctrl_i|u_display|Mux1~3_combout\ & 
-- ((!\top_ctrl_i|u_display|Mux0~3_combout\))) # (!\top_ctrl_i|u_display|Mux1~3_combout\ & (\top_ctrl_i|u_display|Mux3~3_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0010001100101010",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|u_display|Mux3~3_combout\,
	datab => \top_ctrl_i|u_display|Mux0~3_combout\,
	datac => \top_ctrl_i|u_display|Mux2~3_combout\,
	datad => \top_ctrl_i|u_display|Mux1~3_combout\,
	combout => \top_ctrl_i|u_display|WideOr2~0_combout\);

-- Location: LCCOMB_X42_Y32_N14
\top_ctrl_i|u_display|seg[4]~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_display|seg[4]~2_combout\ = (\top_ctrl_i|u_display|WideOr2~0_combout\) # ((!\top_ctrl_i|u_display|sel\(1) & \top_ctrl_i|u_display|sel\(2)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111001111110000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datab => \top_ctrl_i|u_display|sel\(1),
	datac => \top_ctrl_i|u_display|WideOr2~0_combout\,
	datad => \top_ctrl_i|u_display|sel\(2),
	combout => \top_ctrl_i|u_display|seg[4]~2_combout\);

-- Location: LCCOMB_X42_Y32_N12
\top_ctrl_i|u_display|WideOr3~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_display|WideOr3~0_combout\ = (\top_ctrl_i|u_display|Mux2~3_combout\ & ((\top_ctrl_i|u_display|Mux3~3_combout\ & ((\top_ctrl_i|u_display|Mux1~3_combout\))) # (!\top_ctrl_i|u_display|Mux3~3_combout\ & (\top_ctrl_i|u_display|Mux0~3_combout\ & 
-- !\top_ctrl_i|u_display|Mux1~3_combout\)))) # (!\top_ctrl_i|u_display|Mux2~3_combout\ & (!\top_ctrl_i|u_display|Mux0~3_combout\ & (\top_ctrl_i|u_display|Mux3~3_combout\ $ (\top_ctrl_i|u_display|Mux1~3_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1010000101000010",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|u_display|Mux3~3_combout\,
	datab => \top_ctrl_i|u_display|Mux0~3_combout\,
	datac => \top_ctrl_i|u_display|Mux2~3_combout\,
	datad => \top_ctrl_i|u_display|Mux1~3_combout\,
	combout => \top_ctrl_i|u_display|WideOr3~0_combout\);

-- Location: LCCOMB_X42_Y32_N30
\top_ctrl_i|u_display|seg[3]~3\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_display|seg[3]~3_combout\ = (\top_ctrl_i|u_display|WideOr3~0_combout\) # ((\top_ctrl_i|u_display|sel\(2) & !\top_ctrl_i|u_display|sel\(1)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111111100001010",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|u_display|sel\(2),
	datac => \top_ctrl_i|u_display|sel\(1),
	datad => \top_ctrl_i|u_display|WideOr3~0_combout\,
	combout => \top_ctrl_i|u_display|seg[3]~3_combout\);

-- Location: LCCOMB_X42_Y32_N28
\top_ctrl_i|u_display|WideOr4~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_display|WideOr4~0_combout\ = (\top_ctrl_i|u_display|Mux0~3_combout\ & (\top_ctrl_i|u_display|Mux1~3_combout\ & ((\top_ctrl_i|u_display|Mux2~3_combout\) # (!\top_ctrl_i|u_display|Mux3~3_combout\)))) # (!\top_ctrl_i|u_display|Mux0~3_combout\ & 
-- (!\top_ctrl_i|u_display|Mux3~3_combout\ & (\top_ctrl_i|u_display|Mux2~3_combout\ & !\top_ctrl_i|u_display|Mux1~3_combout\)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1100010000010000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|u_display|Mux3~3_combout\,
	datab => \top_ctrl_i|u_display|Mux0~3_combout\,
	datac => \top_ctrl_i|u_display|Mux2~3_combout\,
	datad => \top_ctrl_i|u_display|Mux1~3_combout\,
	combout => \top_ctrl_i|u_display|WideOr4~0_combout\);

-- Location: LCCOMB_X42_Y32_N26
\top_ctrl_i|u_display|seg[2]~4\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_display|seg[2]~4_combout\ = (\top_ctrl_i|u_display|WideOr4~0_combout\) # ((\top_ctrl_i|u_display|sel\(2) & !\top_ctrl_i|u_display|sel\(1)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111111100001010",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|u_display|sel\(2),
	datac => \top_ctrl_i|u_display|sel\(1),
	datad => \top_ctrl_i|u_display|WideOr4~0_combout\,
	combout => \top_ctrl_i|u_display|seg[2]~4_combout\);

-- Location: LCCOMB_X42_Y32_N24
\top_ctrl_i|u_display|WideOr5~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_display|WideOr5~0_combout\ = (\top_ctrl_i|u_display|Mux0~3_combout\ & ((\top_ctrl_i|u_display|Mux3~3_combout\ & (\top_ctrl_i|u_display|Mux2~3_combout\)) # (!\top_ctrl_i|u_display|Mux3~3_combout\ & ((\top_ctrl_i|u_display|Mux1~3_combout\))))) 
-- # (!\top_ctrl_i|u_display|Mux0~3_combout\ & (\top_ctrl_i|u_display|Mux1~3_combout\ & (\top_ctrl_i|u_display|Mux3~3_combout\ $ (\top_ctrl_i|u_display|Mux2~3_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1101011010000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|u_display|Mux3~3_combout\,
	datab => \top_ctrl_i|u_display|Mux0~3_combout\,
	datac => \top_ctrl_i|u_display|Mux2~3_combout\,
	datad => \top_ctrl_i|u_display|Mux1~3_combout\,
	combout => \top_ctrl_i|u_display|WideOr5~0_combout\);

-- Location: LCCOMB_X42_Y32_N2
\top_ctrl_i|u_display|seg[1]~5\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_display|seg[1]~5_combout\ = (\top_ctrl_i|u_display|WideOr5~0_combout\) # ((\top_ctrl_i|u_display|sel\(2) & !\top_ctrl_i|u_display|sel\(1)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111111100001010",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|u_display|sel\(2),
	datac => \top_ctrl_i|u_display|sel\(1),
	datad => \top_ctrl_i|u_display|WideOr5~0_combout\,
	combout => \top_ctrl_i|u_display|seg[1]~5_combout\);

-- Location: LCCOMB_X42_Y32_N20
\top_ctrl_i|u_display|WideOr6~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_display|WideOr6~0_combout\ = (\top_ctrl_i|u_display|Mux0~3_combout\ & (\top_ctrl_i|u_display|Mux3~3_combout\ & (\top_ctrl_i|u_display|Mux2~3_combout\ $ (\top_ctrl_i|u_display|Mux1~3_combout\)))) # (!\top_ctrl_i|u_display|Mux0~3_combout\ & 
-- (!\top_ctrl_i|u_display|Mux2~3_combout\ & (\top_ctrl_i|u_display|Mux3~3_combout\ $ (\top_ctrl_i|u_display|Mux1~3_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0000100110000010",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|u_display|Mux3~3_combout\,
	datab => \top_ctrl_i|u_display|Mux0~3_combout\,
	datac => \top_ctrl_i|u_display|Mux2~3_combout\,
	datad => \top_ctrl_i|u_display|Mux1~3_combout\,
	combout => \top_ctrl_i|u_display|WideOr6~0_combout\);

-- Location: LCCOMB_X42_Y32_N22
\top_ctrl_i|u_display|seg[0]~6\ : cycloneiii_lcell_comb
-- Equation(s):
-- \top_ctrl_i|u_display|seg[0]~6_combout\ = (\top_ctrl_i|u_display|WideOr6~0_combout\) # ((\top_ctrl_i|u_display|sel\(2) & !\top_ctrl_i|u_display|sel\(1)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111111100001010",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \top_ctrl_i|u_display|sel\(2),
	datac => \top_ctrl_i|u_display|sel\(1),
	datad => \top_ctrl_i|u_display|WideOr6~0_combout\,
	combout => \top_ctrl_i|u_display|seg[0]~6_combout\);

ww_key_col(3) <= \key_col[3]~output_o\;

ww_key_col(2) <= \key_col[2]~output_o\;

ww_key_col(1) <= \key_col[1]~output_o\;

ww_key_col(0) <= \key_col[0]~output_o\;

ww_pc(7) <= \pc[7]~output_o\;

ww_pc(6) <= \pc[6]~output_o\;

ww_pc(5) <= \pc[5]~output_o\;

ww_pc(4) <= \pc[4]~output_o\;

ww_pc(3) <= \pc[3]~output_o\;

ww_pc(2) <= \pc[2]~output_o\;

ww_pc(1) <= \pc[1]~output_o\;

ww_pc(0) <= \pc[0]~output_o\;

ww_seg(7) <= \seg[7]~output_o\;

ww_seg(6) <= \seg[6]~output_o\;

ww_seg(5) <= \seg[5]~output_o\;

ww_seg(4) <= \seg[4]~output_o\;

ww_seg(3) <= \seg[3]~output_o\;

ww_seg(2) <= \seg[2]~output_o\;

ww_seg(1) <= \seg[1]~output_o\;

ww_seg(0) <= \seg[0]~output_o\;

ww_sel(2) <= \sel[2]~output_o\;

ww_sel(1) <= \sel[1]~output_o\;

ww_sel(0) <= \sel[0]~output_o\;
END structure;


